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

What happens when Visual Studio starts up?

$
0
0

I'm running Visual Studio 2013 Ultimate, update 4.  I am getting a build error that shows no messages in the error list viewer.  The build error goes away after restarting Visual Studio.  I'm trying to determine the root cause of the issue, but I don't have an understanding of what Visual Studio is doing to piece together what's happening.  I have two questions about getting a deeper understanding of Visual Studio.  Is there some documentation that I can read that will describe the Visual Studio application lifecycle (what happens at startup, runtime, and shutdown)?  And is there any documentation about other logging I can enable?  Thank you.


-don



Converting vcw / vcp files to VS 2010

$
0
0

Hi There,

I have an embedded workspace (.vcw) and project files(.vcp) I’ve inherited from an old project and would like to convert them into visual studio 2010 solution files. Does anyone know how this can be done and if there’s any official Microsoft docs/webpage about this? I’ve seen a few thing on the web and have already tried 2008 express with no luck. I thought I ask here before going on another wild goose chase.

I keep getting an error in the conversion wizard:

2010 was: Unable to convert project. Please make sure this is a valid Visual C++ 6.0 or later project.

2008 Express was: Unable to convert project. Please make sure this is a valid Visual C++ 4.0 or later project.

In explorer there are listed as type : eVC 3/4 Project/Workspace files.

Any help would be greatly appreciated

Thanks

Convert BIDS VS 2008 solution to VS 2013

$
0
0

I wanted to upgrade a BIDS Visual Studio 2008 reporting services solution to VS 2013.
Is this possible? I've tried the VS 2013 automatic conversion but it fails.

VisualStudio 2012 crash on start - Driver Common Package error

$
0
0

Visual Studio 2012 has myseriously stopped working for me since yesterday afternoon. Whenever I try to start it, I now see a message box stating:

"Driver Common Package

Error loading the driver common package:
No exports were found that match the constraint:
    ContractName
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
    RequiredTypeIdentity
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService"

Some hints as to what a user should actually do as a result of this problem would be greatly appreciated given that the error is, at least to me, 100% opaque and equally as unhelpful.

Starting the IDE again with the -log option, I see the following errors in ActivityLog.xml:

217ERRORType provided must be an Enum. Parameter name: enumType
          C:\Users\a0190789\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache\Microsoft.VisualStudio.Default.cache
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost2013/08/02 00:25:44.463
218ERRORAn error occured while loading assembly cache from the cache file:
          C:\Users\a0190789\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache\Microsoft.VisualStudio.Default.cache
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost2013/08/02 00:25:44.464
219ERRORType provided must be an Enum. Parameter name: enumType
          C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\EDITOR\Microsoft.VisualStudio.Platform.VSEditor.dll
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost2013/08/02 00:25:44.464
220WarningTemporary turn off caching for this assembly for the current session of the application
          C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 11.0\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\EDITOR\Microsoft.VisualStudio.Platform.VSEditor.dll
Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost2013/08/02 00:25:44.464

This sounds like some kind of corruption to me and in other circumstances I would likely just reinstall the tool and try again. Unfortunately, I'm traveling this week and have no access to an installation disk. Can anyone offer any suggestions to get me back up and running in the meantime without the need for a DVD or a fat internet pipe? In case it may be relevant, I installed WDK 8.0 yesterday afternoon. Visual Studio worked fine after this as far as I can remember but it hasn't worked since the first reboot after the WDK installation.

Thanks in advance!

Visual Studio 2015 CTP dies after splash screen

$
0
0

Hi,

I am trying to install the latest VS2015 ultimate CTP (CTP 5) from the ISO image. The flash screen appears and then disappears after a second and nothing further happens. I am running Windows 7 Professional 64 bit which is fully updated.

Below is the log. How do I fix this?

Thanks

Adrian


[1454:1308][2015-02-16T15:14:47]i001: Burn v3.7.3517.0, Windows v6.1 (Build 7601: Service Pack 1), path: F:\vs_ultimate.exe, cmdline: '-burn.unelevated BurnPipe.{08D661DC-EDCB-4430-9281-903635B40D15} {B23EFB87-7EAE-4BA5-A540-09321153CD01} 1396'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'EditionDisplayName' to value 'Ultimate 2015 CTP'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'ExtraEditionDisplayName' to value '#loc.blend'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'ExecuteSecondaryInstaller' to value '0'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'BundleProgressKey' to value 'Software\Microsoft\VisualStudio\14.0\Setup\vs\ultimate'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'LicenseFwlinkId' to value '517238'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'MoreLanguageFwlinkId' to value '457728'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'VSEIPAndPrivacyFwlinkId' to value '457710'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'MinOsLevelFwlinkId' to value '457724'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'SolutionFwlinkId' to value '457711'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'HelpFwlinkId' to value '457712'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'IE10FwlinkId' to value '457714'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'Win81BlockFwlinkId' to value '457715'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'SHA256BlockFwlinkId' to value '457722'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'Win81PreRelBlockFwlinkId' to value '457716'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'UninstallMddInfoFwlinkId' to value '457718'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'ThirdPartyHelpFwlinkId' to value '457719'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'UpdateXmlFwlinkId' to value '457721'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'NetfxProductVersion' to value '4.5.50709'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'ProfessionalVSVersion' to value '11.0.50727'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'ProductKey' to value 'VT2XGN96MGPGC23V98KJRX7VV'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43;netfxfullweb'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'Dev12_VC_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 12.0\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'Win81Dev_Dev12Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 12.0\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'Dev11_VC_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'WinSDK_Common_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.0\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'WinBlue_Common_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.1\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'WinBlue_Intellisense_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.1\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'WinBlue_Desktop_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.1\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'WinSDK_Desktop_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.0\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'Win8Dev_Dev11Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'Dev11_UT_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'IsChainingx86VSTORT' to value '1'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'IsChainingx64VSTORT' to value '1'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'IsChainingx86VSTODT' to value '1'
[1454:1308][2015-02-16T15:14:47]i000: Initializing numeric variable 'IsChainingx64VSTODT' to value '1'
[1454:1308][2015-02-16T15:14:47]i000: Initializing string variable 'Include_WindowsPhoneAppxEmulator' to value 'true'
[1454:1308][2015-02-16T15:14:48]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\asims\AppData\Local\Temp\dd_vs_ultimate_20150216151448.log'
[1454:1308][2015-02-16T15:14:48]i000: Setting string variable 'WixBundleOriginalSource' to value 'F:\vs_ultimate.exe'
[1454:1308][2015-02-16T15:14:48]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'F:\'
[1454:1308][2015-02-16T15:14:48]i052: Condition '(VersionNT >= v6.1)' evaluates to true.
[1454:1308][2015-02-16T15:14:48]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual Studio Ultimate 2015 CTP'
[1454:1308][2015-02-16T15:14:48]i000: Loading managed bootstrapper application.
[1454:1308][2015-02-16T15:14:48]e000: Error 0x80070002: Failed to create the managed bootstrapper application.
[1454:1308][2015-02-16T15:14:48]e000: Error 0x80070002: Failed to create UX.
[1454:1308][2015-02-16T15:14:48]e000: Error 0x80070002: Failed to load UX.
[1454:1308][2015-02-16T15:14:48]e000: Error 0x80070002: Failed while running 
[1454:1308][2015-02-16T15:14:48]i410: Variable: BundleProgressKey = Software\Microsoft\VisualStudio\14.0\Setup\vs\ultimate
[1454:1308][2015-02-16T15:14:48]i410: Variable: Dev11_UT_Path = C:\Program Files (x86)\Microsoft Visual Studio 11.0\
[1454:1308][2015-02-16T15:14:48]i410: Variable: Dev11_VC_Path = C:\Program Files (x86)\Microsoft Visual Studio 11.0\
[1454:1308][2015-02-16T15:14:48]i410: Variable: Dev12_VC_Path = C:\Program Files (x86)\Microsoft Visual Studio 12.0\
[1454:1308][2015-02-16T15:14:48]i410: Variable: EditionDisplayName = Ultimate 2015 CTP
[1454:1308][2015-02-16T15:14:48]i410: Variable: ExecuteSecondaryInstaller = 0
[1454:1308][2015-02-16T15:14:48]i410: Variable: ExtraEditionDisplayName = #loc.blend
[1454:1308][2015-02-16T15:14:48]i410: Variable: HelpFwlinkId = 457712
[1454:1308][2015-02-16T15:14:48]i410: Variable: IE10FwlinkId = 457714
[1454:1308][2015-02-16T15:14:48]i410: Variable: Include_WindowsPhoneAppxEmulator = true
[1454:1308][2015-02-16T15:14:48]i410: Variable: IsChainingx64VSTODT = 1
[1454:1308][2015-02-16T15:14:48]i410: Variable: IsChainingx64VSTORT = 1
[1454:1308][2015-02-16T15:14:48]i410: Variable: IsChainingx86VSTODT = 1
[1454:1308][2015-02-16T15:14:48]i410: Variable: IsChainingx86VSTORT = 1
[1454:1308][2015-02-16T15:14:48]i410: Variable: LicenseFwlinkId = 517238
[1454:1308][2015-02-16T15:14:48]i410: Variable: MbaNetfxPackageId = netfxfullredist_43;netfxfullweb
[1454:1308][2015-02-16T15:14:48]i410: Variable: MinOsLevelFwlinkId = 457724
[1454:1308][2015-02-16T15:14:48]i410: Variable: MoreLanguageFwlinkId = 457728
[1454:1308][2015-02-16T15:14:48]i410: Variable: NetfxProductVersion = 4.5.50709
[1454:1308][2015-02-16T15:14:48]i410: Variable: ProductKey = VT2XGN96MGPGC23V98KJRX7VV
[1454:1308][2015-02-16T15:14:48]i410: Variable: ProfessionalVSVersion = 11.0.50727
[1454:1308][2015-02-16T15:14:48]i410: Variable: ProgramFilesFolder = C:\Program Files (x86)\
[1454:1308][2015-02-16T15:14:48]i410: Variable: SHA256BlockFwlinkId = 457722
[1454:1308][2015-02-16T15:14:48]i410: Variable: SolutionFwlinkId = 457711
[1454:1308][2015-02-16T15:14:48]i410: Variable: ThirdPartyHelpFwlinkId = 457719
[1454:1308][2015-02-16T15:14:48]i410: Variable: UninstallMddInfoFwlinkId = 457718
[1454:1308][2015-02-16T15:14:48]i410: Variable: UpdateXmlFwlinkId = 457721
[1454:1308][2015-02-16T15:14:48]i410: Variable: VersionNT = 6.1.0.0
[1454:1308][2015-02-16T15:14:48]i410: Variable: VSEIPAndPrivacyFwlinkId = 457710
[1454:1308][2015-02-16T15:14:48]i410: Variable: Win81BlockFwlinkId = 457715
[1454:1308][2015-02-16T15:14:48]i410: Variable: Win81Dev_Dev12Path = C:\Program Files (x86)\Microsoft Visual Studio 12.0\
[1454:1308][2015-02-16T15:14:48]i410: Variable: Win81PreRelBlockFwlinkId = 457716
[1454:1308][2015-02-16T15:14:48]i410: Variable: Win8Dev_Dev11Path = C:\Program Files (x86)\Microsoft Visual Studio 11.0\
[1454:1308][2015-02-16T15:14:48]i410: Variable: WinBlue_Common_KitsRootPath = C:\Program Files (x86)\Windows Kits\8.1\
[1454:1308][2015-02-16T15:14:48]i410: Variable: WinBlue_Desktop_KitsRootPath = C:\Program Files (x86)\Windows Kits\8.1\
[1454:1308][2015-02-16T15:14:48]i410: Variable: WinBlue_Intellisense_KitsRootPath = C:\Program Files (x86)\Windows Kits\8.1\
[1454:1308][2015-02-16T15:14:48]i410: Variable: WinSDK_Common_KitsRootPath = C:\Program Files (x86)\Windows Kits\8.0\
[1454:1308][2015-02-16T15:14:48]i410: Variable: WinSDK_Desktop_KitsRootPath = C:\Program Files (x86)\Windows Kits\8.0\
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleAction = 5
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleElevated = 1
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleLog = C:\Users\asims\AppData\Local\Temp\dd_vs_ultimate_20150216151448.log
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleManufacturer = Microsoft Corporation
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleName = Microsoft Visual Studio Ultimate 2015 CTP
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleOriginalSource = F:\vs_ultimate.exe
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleOriginalSourceFolder = F:\
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleProviderKey = {8cccf2df-3f01-452d-b7f8-5df5d7f017e7}
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleTag = vs_ultimate,1033
[1454:1308][2015-02-16T15:14:48]i410: Variable: WixBundleVersion = 14.0.22512.0
[1454:1308][2015-02-16T15:14:48]e000: Error 0x80070002: Failed to run per-user mode.
[1454:1308][2015-02-16T15:14:48]i007: Exit code: 0x80070002, restarting: No

ASP.NET subversion and .rdl report files

$
0
0
Hi, I've setup subversion and AnkhSVN in our Visual Studio 2012 environment and so far I'm happy with it. I've recently looked at adding our SSRS reports to it and the functionality seems to be working in terms it will tell a user with a popup that a file is locked out to somebody else if they try to commit. However there is no icon on the .rdl file, it would be great if there was a persons face and lock icon if somebody had it checked out.

There's only two of us using this, its all updated to the latest version. Am I using it correctly and is this request more of a wish list? Thanks!

Visual Studio 2013, Designer not loading, System.Runtime.Remoting.RemotingException [4536] Designer process terminated unexpectedly!

$
0
0

Hi,

i am becoming a bit desperate about a problem i am facing with Visual Studio 2013 Express w/ Update 4.

I wanted to start porting my Windows Phone 8 apps/games to Windows Phone 8.1/Windows 8.1 so i installed Visual Studio 2013, however, and whatever i do, the designer is not loading and show only this error message:

-

System.Runtime.Remoting.RemotingException

[4536] Designer process terminated unexpectedly!

-

I tried updating everything, including my display driver, but nothing. I tried starting a completly new project to see if something different happen, but no!

My development computer is a Surface Pro 1, used as a desktop replacement, plugged into a Toshiba Dynadock u3.0 with Dual screen using a DisplayLink.

Thanks in advance!

Problems opening .sln file saved in Visual Studio Express 2012 with Visual Studio Desktop 2013

$
0
0

I seem to having problems opening a file that was save with visual studio 2012 express for web with visual studio 2013 express for desktop. When I attempt to open the file, it says there is a problem with the CSPROJ file... I have searched for a solution in these forums but came up with nothing..

Thanks


VS 2013 deletes ProjectTypeGuid for MVC4 from .csproj file

$
0
0

I am on a team working on a long-term MVC 4 project. The solution was created in a previous version of VS. In VS 2013, when you right click the controllers folder and choose "add controller..." the only options are for WebAPI 2. 

We discovered with our source code management tools that VS 2013 is dropping the project type GUID for MVC 4 (E3E379DF-F4C6-4180-9B81-6769533ABE47) from the .csproj file. This happens as soon as the project is loaded in VS 2013.  You can add the GUID in notepad, but as soon as you open it in VS 2013, it is deleted.

VS 2012 does not delete the GUID.

How can we solve this problem?  It sure would be nice to have the scaffolding for MVC 4 in VS 2013.

Thanks,

Gerald

LANGUAGE PROBLEM

$
0
0

Hello Everybody,

I develop Windows phone apps. When I put it to store, even i did not set up the basque language, it appears. I could not solve it. My default language is just English (usa). How can i remove basque language?

How visual studio builds a VDPROJ file

$
0
0
Hi! I want to know the internal working of visual studio while building a vdproj file. What components/tools are used? Is there any other way to do same process without using visual studio and using the same tools.  I have used devenv, please mention anything else.

How to view a complete class that is fragmented by extensions and partials?

$
0
0

Thanks to partials now to see what a class is made up one has to search for the occurrences of that class in the solution.

Also the extensions add to the class in places that one has to go and search for the class again? Can extension methods be inherited? if yes would class viewer or class diagram display the extension methods that were inherited as well?


Designer throws an Unhandled Exception with C# Windows Phone Apps

$
0
0

I'm using Visual Studio Ultimate w/ Update 4. I've tried reinstalling VS entirely, reinstalling all of the components including the WP8 kit and I've tried repairing VS. Searching gets me nowhere because VS isn't specific in a way that I've found helpful with this exception. Designer used to work perfectly fine but the last time I used VS was a good 6 months+ ago. The only thing I can think of that I've done differently is use NuGet to get the MS Band tools(I didn't try and use designer before doing that so I don't know if it worked prior). I'm kind of at the point of a full OS reinstall but I'm really really hoping I can get some help actually fixing this as I'm running Windows via Bootcamp so it's a huge deal to have to reinstall windows.

Here is the message I get whenever I try to open designer in VS:

System.Runtime.InteropServices.COMException

Error HRESULT E_FAIL has been returned from a call to a COM component.


   at Windows.Foundation.IAsyncOperation`1.GetResults()   at Microsoft.Expression.WindowsXamlPlatform.Views.RuntimeResourceManager.GetStorageFileForPath(String indexPath)   at Microsoft.Expression.WindowsXamlPlatform.Views.RuntimeResourceManager.ProcessIndexUpdates()   at Microsoft.Expression.WindowsXamlPlatform.Views.RuntimeResourceManager.OnNewIndex(String newFileName, String newResourceMapName)   at Microsoft.Expression.WindowsXamlPlatform.Views.XamlUIPresenterHostServices.OnResourceIndexUpdated(HostResourceIndexUpdatedEventArgs args)   at Microsoft.Expression.WindowsXamlPlatform.Views.WindowsUIXamlResourceIndexProvider.OnResourceIndexUpdated(EventArgs args)   at Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass13.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>b__12(CancellationToken cancelToken)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass3`1.<MarshalInWithCancellation>b__2()   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()


System.Runtime.InteropServices.COMException

Error HRESULT E_FAIL has been returned from a call to a COM component.


Server stack trace:    at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalInSynchronous(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallModality callModality, String methodName, String filePath, Int32 lineNumber)   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalIn(Action action, Int32 targetApartmentId, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, String methodName, String filePath, Int32 lineNumber)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn(IRemoteObject targetObject, Action action, CancellationToken cancelToken, CallSynchronizationMode syncMode, CallModality callModality, ApartmentState apartmentState, String memberName, String filePath, Int32 lineNumber)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.MarshalInWithCancellation[TResult](IRemoteCancellationToken remoteToken, Func`2 func, ApartmentState apartmentState)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostProject remoteProject, IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken remoteToken)   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostProject remoteProject, IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor, IRemoteCancellationToken cancelToken)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.CreateDesignerImpl(IRemoteDesignerService ds, IHostSourceItem item, IHostTextEditor editor, RemoteCancellationToken remoteCancelToken)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass19.<Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner>b__18(IRemoteDesignerService ds, RemoteCancellationToken remoteToken)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass5`1.<MarshalOutWithCancellation>b__4(IRemoteDesignerService ds)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass1`1.<MarshalOut>b__0()   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()


System.Runtime.InteropServices.COMException

Error HRESULT E_FAIL has been returned from a call to a COM component.


   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.WaitForCompletion(NestedCallContext nestedCallContext, BlockingCall call, WaitHandle timeoutSignal)   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOutSynchronous(Action action, Int32 targetApartmentId, WaitHandle aborted, WaitHandle timeoutSignal, CancellationToken cancelToken, String methodName, String filePath, Int32 lineNumber)   at Microsoft.Expression.DesignHost.Isolation.Remoting.STAMarshaler.MarshalOut(Action action, Int32 targetApartmentId, WaitHandle aborted, CancellationToken cancelToken, CallSynchronizationMode syncMode, WaitHandle timeoutSignal, String methodName, String filePath, Int32 lineNumber)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action action, CancellationToken cancelToken, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TValue](RemoteHandle`1 targetObject, Action`1 action, CancellationToken cancelToken, CallSynchronizationMode syncMode, ApartmentState apartmentState, String methodName, String filePath, Int32 lineNumber)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.MarshalOutWithCancellation[TResult](CancellationToken cancelToken, Func`3 func, ApartmentState apartmentState)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)   at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)

How to generate functional code coverage of C# Windows Application in VS2010/VS2012/VS2013

$
0
0

Hi,

Is there any way to generate the functional code coverage of C# windows/console application in Visual Studio's any version(2010/2012)?

Functional code coverage means by executing the functional test cases not the unit test cases(NUnit/MSTest etc.).

Thanks,

Pramod Jaiswal


im using the new HTML5 picture element in vs2013

$
0
0


the HTML5 picture element is not supported for my VS 2013 project nor does it have intellisense for it. How can I get that installed or updated?



Database Project Schema Compre is not working!

$
0
0

When I do a schema compare in database project using source control as the left side and the database on the right side it is not detecting missing tables on the right side.  What is wrong with this product or what am I doing wrong here?  Also, I have timeout issues.  When I GOOGLE it, I see help for visual studio 2010 asking me to modify a REGISTRY KEY; but, the same registry key doesn't exist for visual studio 2013.

Glad to be your QA team Microsoft!  Any time.


The Degenerate Dimension

VS 2010 /Onedrive issue

$
0
0

Posted this question here first (http://answers.microsoft.com/en-us/onedrive/forum/sdfiles-sddrives/vs-2010-onedrive-issue/f00e1b98-4879-4961-ad16-c15bfcfcb126) was told to post here.

Original question

I have my onedrive location set to a seperate HDD and my documents, pictures , music and what have you locations are set as onedrive

the save documents to onedrive by default is turned on in pc settings

i have my visual studio set to use D: onedrive/documents/visual studio 2010

and it all works well apart from everytime i start it up it creates a new document folder in my personal folder on C drive where it used to be but all it contains is backup files and start page even though these are both in the ondrive documents folder

No other program does this. not even vs 2013

any ideas how to fix this?

Visual Studio 2013 - hot to get current Update

$
0
0

Hello,

can you tell me, how can I determine the current update of Visual Studio 2013 from registry? The thing is that I have MyApp which requires Visual Studio 2013 Express with Update 4 or above. I know how to detect the version of VS, but I have no clue how to get Update of VS.

I get version from:

HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDic\vs\Servicing\<version>

I have found the registry key UpdateVersion, but its content does not say anything to me. I wish to have exact number of update or at least to know hot to determine update from UpdateVersion.

Thank you

Visual studio 2013 pro constantly crashing.

$
0
0

I'm developing an app using apache cordova tools CTP3.1. and VS is frequently crashing.

.net runtime error

Application: devenv.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.Exception

Stack:

   at SuperSocket.ClientEngine.TcpClientSession.DetectConnected()

   at SuperSocket.ClientEngine.TcpClientSession.TrySend(System.ArraySegment`1<Byte>)

   at SuperSocket.ClientEngine.ClientSession.Send(System.ArraySegment`1<Byte>)

   at WebSocket4Net.Protocol.DraftHybi10Processor.SendCloseHandshake(WebSocket4Net.WebSocket, Int32, System.String)

This is causing a application error in VS

Faulting application name: devenv.exe, version: 12.0.31101.0, time stamp: 0x54548724

Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86

Exception code: 0xe0434352

Fault offset: 0x0000c42d

Faulting process id: 0x1574

Faulting application start time: 0x01d07cfb1115f765

Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe

Faulting module path: C:\Windows\syswow64\KERNELBASE.dll

Report Id: 37070a44-e8f0-11e4-9b13-6c0b84094d7e

Communication between projects and DLL in Visual Studio 2008, WINCE7

$
0
0

We inherit a project develop using Platform Builder with WINCE7 and Visual Studio 2008. The project has a BSP, 5 sub-projects and a DLL. The problem is that when we add a function to the DLL Data Manager and try to call the new function from any of the subproject using an Data Manager object that is currently used in the subproject to call other functions on the Data Manager DLL, we get the following error:"Error 107 Configuration_Setting_Mapper.obj : error LNK2019: unresolved external symbol "public: void __cdecl Data_Manager::Configuration_Manager::Set_Default_TEST(void)" (?Set_Default_TEST@Configuration_Manager@Data_Manager@@QAAXXZ) referenced in function "public: bool __cdecl Configuration_Setting_Mapper::Set_UserName_Default(void)" (?Set_UserName_Default@Configuration_Setting_Mapper@@QAA_NXZ)

Same error is received when we try to change the return type of any of the functions in the Data Manager DLL. Do we have to set a link between the Data Manager and the subproject? What could be missing?

Viewing all 21115 articles
Browse latest View live




Latest Images