visual-studio-2013

How do you specify command line arguments in a .csproj's StartProgram setting?

喜欢而已 提交于 2021-01-27 16:00:29
问题 I'm trying to specify command line arguments to an executable in a <StartProgram> value of a <PropertyGroup> Currently looks like this <PropertyGroup> <StartAction>Program</StartAction> <StartProgram>$(SolutionDir)\Edge.Express\node.exe</StartProgram> </PropertyGroup> I'm trying to automate the steps involved in attaching my library to a running process so my team can directly debug a library without additional ceremony (They're not familiar with Visual Studio yet) I copied the node

Custom controls disabled. There was an internal issue with the rendering process

落花浮王杯 提交于 2021-01-27 13:20:24
问题 I installed Xamarin 4.2.2.11 (00fa5cc) on VS 2013. How can I solve this error in designer: Custom controls disabled. There was an internal issue with the rendering process. This is my sdk manager This is the designer. 来源: https://stackoverflow.com/questions/42038340/custom-controls-disabled-there-was-an-internal-issue-with-the-rendering-process

The type or namespace name 'Storage' does not exist in the namespace 'Microsoft.WindowsAzure'

折月煮酒 提交于 2021-01-27 12:53:28
问题 I updated to Visual Studio 2013 Update 2 RC and to Azure SDK 2.3. Now I get the following error: The type or namespace name 'Storage' does not exist in the namespace 'Microsoft.WindowsAzure' On all three of these: using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Auth; using Microsoft.WindowsAzure.Storage.Blob; If I remove these using namespaces then I get the error: The type or namespace name 'CloudBlobClient' could not be found (are you missing a using directive or

Texture.loadFromFile doesn't work

徘徊边缘 提交于 2021-01-27 12:28:53
问题 I am using SFML 2.2 and Visual Studio Express 2013. I simply want to load a texture and apply it to a sprite just like it is done in the tutorials at http://www.sfml-dev.org/tutorials/2.2/graphics-sprite.php. The problem is that texture.loadFromFile() doesn't work at all for me. I have tried to place my file in a thousand different places and I always get the same result. Finally I decided to use the full path, same problem. I also tried different formats: PNG, GIF, JPG, BMP. I also tried to

AWS C++ SDK linker error on visual studio

放肆的年华 提交于 2021-01-27 12:20:55
问题 I'm trying to link aws-sdk-ec2 to my application,but I'm a getting a linker error from Visual Studio 2013.I have compiled the SDK successfully and linked aws-sdk-core.lib and aws-sdk-ec2.lib on my project settings. The error I'm getting is: Error 1 error LNK2001: unresolved external symbol "char const * const Aws::Http::CONTENT_TYPE_HEADER" (?CONTENT_TYPE_HEADER@Http@Aws@@3PBDB) E:\Users\..\..\..\main.obj Any ideas what is the problem ? Do I need to link any aws-sdk-* component ? 回答1: I have

AWS C++ SDK linker error on visual studio

蹲街弑〆低调 提交于 2021-01-27 12:20:49
问题 I'm trying to link aws-sdk-ec2 to my application,but I'm a getting a linker error from Visual Studio 2013.I have compiled the SDK successfully and linked aws-sdk-core.lib and aws-sdk-ec2.lib on my project settings. The error I'm getting is: Error 1 error LNK2001: unresolved external symbol "char const * const Aws::Http::CONTENT_TYPE_HEADER" (?CONTENT_TYPE_HEADER@Http@Aws@@3PBDB) E:\Users\..\..\..\main.obj Any ideas what is the problem ? Do I need to link any aws-sdk-* component ? 回答1: I have

Following controls were added but are not enabled

こ雲淡風輕ζ 提交于 2021-01-27 05:38:11
问题 I'm trying to add the Windows Media Player component to my solution, but this message is displayed instead. The following controls were added but are not enable in the active designer. Make sure the controls to add are compatible with the current designer and .NET Framework I'm using Windows 8.1, Visual Studio 2013 and .NET framework target is 4.5 I copied my DLL to the bin folder too. 回答1: I could suggest you to check if the version of the ddl that you have imported is for 4.5 version of

Assembly not found during TFS Build

╄→尐↘猪︶ㄣ 提交于 2021-01-27 05:23:27
问题 Running into an issue were project compiles locally just fine, but TFS build is reporting that assemblies cannot be found. Log file will show: 2>C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets(1696,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "HtmlAgilityPack". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\Builds\1\MyProj\MyProj-Dev

Why is the compiler giving an error because of a non constant expression when passing just a string array

雨燕双飞 提交于 2020-12-30 08:34:48
问题 When I pass a string array to a test function like this: [TestCase( new string[] { "1", "2", "3" }, 1 )] [TestCase( new string[] { "54", "508" }, 1 )] [TestCase( new string[] { "768" }, 2 )] public void someTest( string[] someStrings, int someNumber ) { //... } The compilation works fine. But, if I remove integer parameter like the follwoing code snippet shows: [TestCase( new string[] { "1", "2", "3" } )] [TestCase( new string[] { "54", "508" } )] [TestCase( new string[] { "768" } )] public

Can not find system.web.http

戏子无情 提交于 2020-12-30 04:52:00
问题 I have to add a system.web.http assembly reference because I added the HttpConfiguration class to my unit test class library project. When I browse the Add reference dialog I can not find the system.web.http assembly. The class library project has the .Net 4.5.1 framework targeted. 回答1: in order to get the system.web.http you will need to install a nuget package in the nuget command line: Install-Package Microsoft.AspNet.WebApi.Core https://www.nuget.org/packages/Microsoft.AspNet.WebApi.Core/