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

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



MVC Dropdown List

$
0
0
Hi. I'm new to VS and MVC. I'm working on a project using MVC and EF6, I need to load 2 data fields onto a foreign key dropdown list, so when a user enters a record should be able to see more then 1 identifier for the main record at the moment it only loads 1, e.g the foreign key loaded is PolicyID, I need to also display FullNames on the same item in the list (12, John Doe). Please assist

VS2015 Community: Unable to open the Web site ‘blah.com’. The components for communicating with FTP servers are not installed.

$
0
0
So, where do I get them? How to install?

peter n roth - http://PNR1.com, Maybe some useful stuff

Problem with Licensing

$
0
0

I downloaded Visual Studio 2015 from the MSDN subscriber website. There does not seem to be a license keys other than an instruction to register. However when I tried logging onto Visual Studio it just keeps saying license valid till March. Without logging on, it gives 30 days grace period to use.

Problem with Visual Studio 2015

$
0
0
Every day when I start Visual Studio I keep getting the message 'need to refresh the credentials' and forcing to relogin to my Microsoft Account. How to workaround the issue?

C# Cosmos User Kit

$
0
0
Hi, I installed Cosmos User Kit and it doesn't appear on templates. I'm using Visual Studio 2013 and I downloaded  the file on <cite class="_Rm">https://cosmos.codeplex.com</cite>

Need to sort and display lots of text

$
0
0

First off, I'm a total newbie at programming, so sorry if this doesn't make much sense.

I need to sort and display a lot of text based on previous user input.  Probably 100-150 lines out of a potential 1000 or so (with embedded variables and calculations).  I've been using a richtextbox and a bunch of if...then.... richtextbox.text=richtextbox.text+.... during the form load event.   At about half way through the list, it just quits adding lines. 

Are there limits to the form load event or to the richtextbox that can be changed?  Is there a way to move rich text with a function or variable (is it just a string?) ?  Or am i just going about this whole thing in the wrong way?

Migration from VS2003 to VS2013

$
0
0

Hi,

I am frequently getting some compilation errors when migrated from VS2003 to VS2013. I have a sample source code and when i compile i get the below errors:

error C2059: syntax error : 'constant'    C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h

error C2334: unexpected token(s) preceding ':'; skipping apparent function body    C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h  

error C2059: syntax error : 'string'    C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h  

error C2334: unexpected token(s) preceding '{'; skipping apparent function body    C:\Program Files (x86)\Windows Kits\8.1\Include\um\winnt.h   

error C2159: more than one storage class specified    C:\Program Files (x86)\Windows Kits\8.1\Include\shared\minwindef.h   

error C2146: syntax error : missing ';' before identifier 'WPARAM'    C:\Program Files (x86)\Windows Kits\8.1\Include\shared\minwindef.h  

error C2371: 'UINT_PTR' : redefinition; different basic types    C:\Program Files (x86)\Windows Kits\8.1\Include\shared\minwindef.h   

error C4430: missing type specifier - int assumed. Note: C++ does not support default-int    C:\Program Files (x86)\Windows Kits\8.1\Include\shared\minwindef.h   

error C2146: syntax error : missing ';' before identifier 'CRITICAL_SECTION'    C:\Program Files (x86)\Windows Kits\8.1\Include\um\minwinbase.h   

I request someone to reply how to resolve these compilation errors.

Regards,

Kumar


VS 2015,C# Designer Process Crashes

$
0
0

New install of VS 2015 Community Edition Version 14.0.24720.00 Update 1, on a new Dell running Win 10 Pro, build 10586.

I created new C# Windows Universal Blank App. Opened "MainPage.xaml", see loading Designer prompt, then an unhandled exception occurs on the designer.  Error message is at the end of post.

No code has been added or changes made to the blank project.  The system is in Developer mode.

Have tried repairing and reloading Visual Studio.  Followed multiple MSDN and Google reports of similar errors, but found nothing that resolves problem.

Tried inputting a "Hello World" following this outline: https://msdn.microsoft.com/en-us/library/windows/apps/dn765018.aspx and the app compiles without error, then crashes calling the debugger, with a message: "Unable to activate Windows Store app".

Any suggestions or ideas?

Larry

The following error message occurs:

System.Runtime.Remoting.RemotingException
[4548] Designer process terminated unexpectedly!
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain.Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IIsolationDomain.CreateInstance(String assemblyName, String assemblyCodeBase, String typeName)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize()
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize()
   at Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c__DisplayClass10_0`1.<StartTask>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Server Explorer is missing Management Classes (VS2015)

$
0
0

In my previous version, I could easily generated WMI classes from the management classes (below server explorer).

Now I upgraded to Windows 10 with Visual Studio 2015, and it seems to be missing! Did I forget to install a component?

Or is it just EOL?

Thanks for the info!

Error when open visual studio 2013

$
0
0

Hi,

I'm using visual studio 2013.

I don't understand when i open one class.. VS 2013 stopped working..VS is busy.

Please help me. Thanks

where to get my frameworks and assemblies for my c # wpf project and accessibility with screen readers

$
0
0
hi. well, had to modify the configNames.ini for my jaws screen reader, as when i try to search for a reference, i right click on my solution, and then click add reference, the reference dialog comes up, and when i search for System.Data, when i use the ocr function of my screen reader, from http://www.freedomscientific.com, i then hear no frameworks or assemblies for this project, Calculator, c # wpf, windows 8.1 / 10 universal apps. so, how do i get these frameworks and extensions and assemblies, and when i search, does not show it up in the list. any one got any ideas, any low vision or totally blind programmers here using a screen reader. help me out. marvin. or possibly maybe some one who i know or trust, who has knowledge in visual studio 2015 community and accessibility, maybe might be able to do a jaws tandem, basically i allow some one to remote into my machine, if they have the same copy of jaws 17 on their machine. any one able to help me out. marvin.

http://startrekcafe.stevesdomain.net http://groups.yahoo.com/groups/JawsOz

VS ToolBox Display abnormal style with grid border line

$
0
0

I use Vs 2015, VS ToolBox usually display as below screenshot

what's the matter?

,,it just display odd..but it works fine


DON'T TRY SO HARD,THE BEST THINGS COME WHEN YOU LEAST EXPECT THEM TO.

VS Express Web 2015 Crashes on View in Browser and Browse With

$
0
0

VS Express Web 2015 Crashes on "View in Browser" and "Browse With". 

How to fix?

thx

Create and open a directory

$
0
0

I cannot believe how difficult it is to get this answer. I am using vb and my solution is almost ready. I have a directory in my application. that contains necessary information for my project, and that is populated with other user files and reports. I've placed this  directory in my solution area I set my current directory (via a chdir command) to that area. Everything is swell except that I am using a windows path (eg,, c:\...\projects..), and of course that wont work when I deploy to my target website. So0000, how do I set the path?   I am reading a lot of seemingly complicated answers on how to do this, but thus far they have all been beyond my understanding. 

Anyone????

eps123


eps123


How to connect iPhone 6s device to debug ios xamarin app in Visual Studio 2015 and Windows 10 Laptop

$
0
0
I am new to xamarin and trying to learn it using online materials. I have done the following environment setup in my laptop with Windows 10 OS.
1. Installed Visual Studio Enterprise 2015.
2. Downloaded and configured xamarin studio for VS 2015.

I am able to connect my Android device and debug the sample android app in the device.

But I am unable to debug the IOS app since I found that MAC is required for that and I dont have it as of now.

I have an iPhone 6s and would like know if it is possible to connect my iPhone device to my Window 10 laptop and have it show up in Visual Studio 2015 IDE to develop and debug my sample IOS app. If this is possible Can you also help me with the steps for the same.

Thanks,
Mohan

visual studio app working differently on different processors.

$
0
0

I am using visual studio 2013, the app I compiled is working great on a PC with intel processor , but on a computer with AMD, it has a bug. 

The only difference between the two computers is the processor ,,

I dont know the problem ? Can some 1 guide me where to debug ? 

Thanks.

Visual Studio 2015 individual zoom

$
0
0

How do I change the zoom for individual windows?

Unlike previous versions, in VS2015 when I change the zoom level for one window it changes all of the other windows too!


Visual Studio 2015 WPF designer gives false errors

$
0
0

I tried asking this question in Stack Overflow (https://stackoverflow.com/questions/34516507/upgrade-to-visual-studio-2015-gives-false-errors) without ay luck.

Defining a WPF combobox gives an error. Where the control should be in the designer, it says: "Set property 'System.Windows.Media.SolidColorBrush.Color threw an exception"

Down in the error list it says: "Color(#FF888888)' is not a valid value for property 'Color'."

I have a very simple window where the combo box is defines as:

        <ComboBox x:Name="cbCountry" Grid.Column="1"   VerticalAlignment="Bottom"  Height="28" FontSize="12"SelectionChanged="cbCountry_SelectionChanged" 

                  HorizontalContentAlignment="Stretch" IsEditable="True" StaysOpenOnEdit="True" IsManipulationEnabled="True"KeyUp="cbCountry_KeyUp" />

I finally narrowed it down to the Windows.Resources tag:

    <Window.Resources>

        <DataTemplate x:Key="CityTemplate">

            <StackPanel Orientation="Horizontal">

                <Border BorderThickness="1" BorderBrush="Black">

                    <TextBlock Text="{Binding City}" />

                </Border>

            </StackPanel>

        </DataTemplate>

    </Window.Resources>

I tried removing one element at a time, starting with the BorderBrush without any luck. It was not until I removed the entire Windows.Resources tag that the error went away. Now with the error, it will still compile and run. It just craps out in the designer. Using Blend does the same thing. This project did not have this issue in Visual Studio 2012. It was only when I converted to VS 2015 does this appear. The issues appears in other defined windows, but this one is the simplest to recreate.

After migrating servers - trouble seeing web services from application

$
0
0

We have a situation in which an error, quoted at the end of this post, appears when our asp.net c# application is forced to access the web services it uses.   The web services and application itself reside on the same server.  This was always the case, although the database resides elsewhere (and works fine).

What is critically important is that until we migrated to a newer server (both the web services and the application) we did not get this error.  We moved from a Windows 2003 system to a server 12 r2 system.  The problem appears to be that the application cannot see the web services after the migration and there are no hard-coded references to any servers in the application at all and web config files were updated.

Currently the program has been undesirably modified to avoid using web services so development can continue in other areas.  What is your advice on how to fix this?

[Win32Exception (0x80004005): The system cannot find the file specified] [SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)] [ProviderIncompatibleException: The provider did not return a ProviderManifestToken string.]
Viewing all 21115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>