Quantcast
Channel: Visual Studio General Questions forum
Viewing all 21115 articles
Browse latest View live

sqlpubwizinstaller.exe

$
0
0

Hello --

Please  clarify -- I was trying to add more options to my visual studio 2008 install -- SQL --  the installer stop and wants the path for

sqlpubwizinstaller.exe  -- but this files is not on the computer or on the vs2008 dvd -- how is that? where can I find this file?

The file I found on the DVD is sqlpubwiz.msi

what am I missing here?

thanks

fpe


How to compile C# program in Visual Studio Code

$
0
0

Hi All

This sound like a stupid question. But I cant seem to figure out how to compile code in Visual Studio Code (on windows client). I checked documentation and its all about editing. Can anyone please advise if its possible to compile in Visual Studio Code?


Thanks Mohit

Unable to debug UWP apps on D: drive

$
0
0

I am trying to write a UWP app but not able to debug it from Visual Studio if the project is saved on the D: drive. Build and deploy succeeds but app launch fails with an unhandled win32 exception and I get a dialog box that says:

---------------------------

Unable to activate Windows Store app '34fbbbab-06f5-43d5-a768-59c0fd32d0ff_hcc2p9ftw5afy!App'. The App1.exe process started, but the activation request failed with error 'The app didn't start'.

See help for advice on troubleshooting the issue.

---------------------------

This happens even with a brand new project created from the default "Blank App (Universal Windows)" template. The same app launches fine if I create it on the C: drive.

Also noticed that references to the System namespace shows up with red squiggles when the project is created which then slowly disappears as the project builds. However, if the project is created on the C: drive, there are no squiggles and things look fine from the moment the file opens up.

Have anyone here hit a similar issue? Would appreciate any help you can provide to fix this.

Environment: Windows 10, Visual Studio Enterprise 2015


VB.NET How to search a webpage for text

$
0
0

Hi I have been trying to create some software. But I need to know how to create some software that can search a webpage for a certain peace of text.

Thanks

I thought it could be something like this

If  textbox1.text = ("This is were the search text would be")

This is were some text would go to search a certain Website 

Devenv.exe Uses High CPU with UI Glitches

$
0
0

I've been using ASP.net with C# for website creation with VS2015.

Eventually, after twenty or so minutes or more, visual studio will start using much more cpu then it were prior even though I'm still doing the same thing which is just making changes to my code and testing it via the web browser. After this has started you can observe user interface problems within visual studio. Such as the properties box not showing the current properties for a selected control. Instead it simply freezes on whatever it was showing, still allowing you to change those properties, but if I click on another control, it continues showing the previous controls properties.

At this point you may select another control and press f6 to build the ASP website again and in which case the properties window will correctly show the properties for the current selected control. But if you select another thereafter you have to repeat the process of pressing f6 to update the properties window again.

After closing VS2015 the devenv, VsHub and VsHub server processes continue to run and have to be closed via task manager. I've found deleting the configuration folder in AppData\Roaming\Microsoft\VisualStudio and termination the aforementioned processes restores VS for a briefer time before the problem arises again.

I'll run devenv with the /log option and come back with the file once the problem occurs.


VS 2012 freezes on anything I do

$
0
0

Visual Studio 2012 Professional Update 5 11.0.61219.00

Windows 7 Ultimate

Hi everyone,

I am having trouble with a solution freezing whenever I Clean, Build, Rebuild or open anything up in the solution. I try deleting the .suo file and restart the solution and it works for a little while. Then to solution hangs on anything again. So I delete the .suo file again but it doesn't work. the only thing works is a system reboot and we go back to the same process again. I tried a lot of things on the internet but still can't solve this. Anyone have any ideas?

Thanks in advance


Database first in Asp.Net 5 (Entity Framework)

$
0
0
Did Microsoft kill the Database first model to work with database during developing? Does only the Code first model exist now or what? How can I crate web apps with my existing database?

How to Add Reference in Visual Studio 2015?

$
0
0

I can't seem to Add Reference like I used to in previous versions of Visual Studio.

I want to use the System.Configuration.ConfigurationManager class in a MVC web project targeted at 4.6. 

I went through the usual Add Reference, but there are onlySystem.configuration 4.0.0.0 orSystem.Configuration 1.0.0.0.  Adding either does not allow me to compile as the compiler still says that "The type of namespace name 'Configuration' does not exist in the namespace 'System' (are you missing an assembly reference?)".  However, Intellisense does pop up the various class properties and methods after I have added either one of these.

Has the method of adding references been changed?




VS2015 - How to Test Universal App on Lumia 950?

$
0
0

I am wondering how to test a universal app on my Luma 950. Before Windows 10, there was a way to register a Windows 8 phone for development. In Windows 10, there's an "UPDATE & SECURITY/FOR DEVELOPERS setting. I've tried both the "Sideload Apps" and the "Developer Mode" options, but the UA in VS2015 still won't recognize my Lumia for testing when I choose "Device".

How do I get my VS2015 to recognize the Lumia 950 for app testing?

VS2013 Dotfuscator is inserting a Virus?

$
0
0

I have a clean, up to date system, legit windows 7, MSE, and VS2013 Community Edition DLed straight from MS.  Everytime I run Dotfuscator on an EXE, it seems to install a virus, at least thats what VirusTotal says.  I've scanned the original and it doesn't have the same result...

Is this a false positive?  If it is I haven't been able to find anything about it online.  Has anyone else come across this?

Result: 

Qihoo-360 HEUR/QVM03.0.Malware.Gen

Link:

https://www.virustotal.com/en/file/155fb6e54884fb51f0d165d11fd6cdc9ad7f2595d7e4ced5557faf0835439f32/analysis/1450632873/

VS 2015 Community: License expired, cannot repair, reinstall or uninstall

$
0
0

Today I tried to run VS 2015 Community edition and received the error message below:

License Expired

There is no place on this screen for me to update or renew my license. There is only a Close button which shuts VS down. 

I tried to uninstall or repair VS from the Control panel. My only option was Change

Uninstall change

When I select Change, I receive the error below. I get this same error when I try to re-install the software from the web installer (vs_community_ENU.exe) or from a DVD I made from the VS ISO file.

Setup Failed

The log file has a lot of "registry key missing" errors in it. I tried to post the log here but I get an error from the forum webpage when I do.  I will try to post it in a follow-up to this question.

I would appreciate anyone's help to either repair or uninstall VS. Thank you!

I can't log in: http://prntscr.com/9g5zjn

$
0
0

----------------------- http://prntscr.com/9g5zjn --------------------------

Ive tired to log in but it says "We have a problem" with visual studio 2015 , my 30 day free trial has expired and i now cant log in pls ffs helppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn -------------------------- ----------------------- http://prntscr.com/9g5zjn --------------------------  ----------------------- http://prntscr.com/9g5zjn --------------------------

----------------------- http://prntscr.com/9g5zjn --------------------------

Cross Platform Mobile Development - Sharing Code Between Platforms

$
0
0

So I'm planning on making an app for Windows (UWP) and Android, and I've been searching around for different resources on the best ways of doing it in VS2015.

So far it seems you create a solution with a project for the Windows specific code, a project for the Android specific code and a project for the cross platform code. The only problem is that they seem to be using a template called "Dynamic Shared Library (Cross Platform)" but I can't seem to find that template anymore, the closest I get is "Dynamic Shared Library (Android).

What's the best way of going about writing as much of my code cross platform as possible?

program.cs file is missing in windows and console application

$
0
0

Have recently installed Microsoft Visual Studio 2013 express for windows desktop. The problem is that if i open windows application or console application, it is not showing program.cs (default) file. Can some body help me out to solve this issue. 

Regards Jens

program will not run without debugger

$
0
0
I'm getting back to coding after many years away, and I'm starting with VS 2015. Just wanting to try VS, I created a C# app for Windows Forms. Just the main window, in which I put a button and a textbox. On button push, text appears in the textbox. When I debug it, it works fine, runs, does what it should, and closes fine. But when I run it without debugging, or I build a release or debug version and run it from Windows Explorer (outside VS), very strange things happen. No window appears. If I run it without debugging in VS, VS clocks forevee. In both cases (from inside & outside VS), the task manager shows 3 instances of the program, and I'm unable to kill the tasks, either from Windows Task Manager, or from Process Explorer. Thanks.

Mobile Emulator 10.0.10586.0 Cannot Run

$
0
0

I have problems in visual studio enterprise 2015 update 1, which can not run on "Mobile Emulator 10.0.10586.0" and display an error message as shown below:

error message

How to handle it?

Cant find console application

$
0
0

I have installed Visual studio community, but i cant find c# Console Applications?

I got message that the computer dosent fint it?

I have windows 10 is that the problem ?

Cross-platform development tool setup

$
0
0

I want to setup the Visual Studio IDE so that I can do cross platform development in C, C++, and assembly that targets another platform. (Motorola 680x0)

I have the compiler, libraries, and various tools needed.  What I don't have is any clue about how to configure the VS IDE to use those tools as required.

Can someone point me at the documentation that covers this?  All I've been able to find for "Cross platform" is info on Android, iOS, and Unity.

How can we use .Net 4.0 dll in .Net 2.0 or 4.0 below version applications

$
0
0

Hi,

I have an windows application which is developed using .Net 2.0 and a class library(dll) which also developed using .Net 2.0.

Now my dll is updated to 4.0 and implemented some new features.I want to use the new 4.0 dll in my .Net 2.0 windows application.

I am using method LoadFrom() to load the assembly and creating the instance.

System::Reflection::Assembly::LoadFrom(sPath);

When i am loading the 4.0 dll using the above API method i am getting  below error.

"the assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded".

Note: My requirement is i don`t want to rebuild my .Net 2.0 application. But i need to use the .Net 4.0 dll in my appltcaion using the above API.

Please help me on this, How can i do this ?

Any help can be appreciated.

Thanks,

Kiran

Intellisense not working in CS interactive

$
0
0
With Update 1 of VS2015, I have the new C# Interactive window--I'm not, however, seeing intellisense completions when I enter statements, expressions or #-statements. Any instructions on how to turn that on?
Viewing all 21115 articles
Browse latest View live


Latest Images