visual-studio-2012

Failed to generate code error when compiling a ASP.NET website on a new computer

半世苍凉 提交于 2021-01-28 07:00:24
问题 I moved my ASP.NET 4.5 website to a new computer by copying the whole folder of the website. When I try to build the website on the new computer in Visual Studio 2012 (same version that I have on the first computer) I get a few warnning and Errors. Error: Failed to generate code. Exception of type 'System.Data.Design.InternalException' was thrown. C:\Users\admin\Desktop\website_sample\App_Code\DataSet.xsd There are 21 warnnings , all saying "Unable to update auto-refresh reference" for

Unit Tests Not Discovered In Python - Visual Studio Code

天大地大妈咪最大 提交于 2021-01-28 03:13:59
问题 I am using visual studio code to program in python and I am attempting to run unittests but my test files are not being discovered. I am getting the following message: "No tests discovered, please check the configuration settings for the tests." My script (problem1.py) and my test script (problem1_test.py) are in the same directory. My settings are configured as follows: { "python.pythonPath": "C:\\Users\\Adam\\AppData\\Local\\Programs\\Python\\Python36\\python.exe", "python.unitTest

Unit Tests Not Discovered In Python - Visual Studio Code

青春壹個敷衍的年華 提交于 2021-01-28 01:40:23
问题 I am using visual studio code to program in python and I am attempting to run unittests but my test files are not being discovered. I am getting the following message: "No tests discovered, please check the configuration settings for the tests." My script (problem1.py) and my test script (problem1_test.py) are in the same directory. My settings are configured as follows: { "python.pythonPath": "C:\\Users\\Adam\\AppData\\Local\\Programs\\Python\\Python36\\python.exe", "python.unitTest

PowerShell cmdlet Install-WindowsFeature called from C# errors and is not listed in the collections of commands

北城余情 提交于 2021-01-27 07:16:57
问题 I'm trying to install new features on a Windows Server 2012 system through PowerShell and C#. I am getting this error back when trying to call the Install-WindowsFeature cmdlet: The term 'Install-WindowsFeature' is not recognized as the name of a cmdlet, function, script file, or operable program... I can call other cmdlets though C# and even some of the other new ones. I did a Get-Command and Install-WindowsFeature , Remove-WindowsFeature , and Get-WindowsFeatures are not listed...but about

PowerShell cmdlet Install-WindowsFeature called from C# errors and is not listed in the collections of commands

你。 提交于 2021-01-27 07:15:15
问题 I'm trying to install new features on a Windows Server 2012 system through PowerShell and C#. I am getting this error back when trying to call the Install-WindowsFeature cmdlet: The term 'Install-WindowsFeature' is not recognized as the name of a cmdlet, function, script file, or operable program... I can call other cmdlets though C# and even some of the other new ones. I did a Get-Command and Install-WindowsFeature , Remove-WindowsFeature , and Get-WindowsFeatures are not listed...but about

How do I add versions to “Visual Studio Version Selector”, my list is empty

核能气质少年 提交于 2021-01-27 04:00:55
问题 I have VS 2008, 2010, and 2012 installed. Initially, VS2013 Team Explorer was installed (Shell only). I uninstalled that. Now, the Visual Studio Version Selector shows an empty list when executing a .sln file. Nothing shows. How can I repopulate this list? Where is it stored? Registry? I tried to find entries, but since it doesn't actually have any items in the list, I couldn't search for a specific string. 回答1: I just encountered the same issue after installing Visual Studio 2015 parallel to

How do I add versions to “Visual Studio Version Selector”, my list is empty

半世苍凉 提交于 2021-01-27 03:59:18
问题 I have VS 2008, 2010, and 2012 installed. Initially, VS2013 Team Explorer was installed (Shell only). I uninstalled that. Now, the Visual Studio Version Selector shows an empty list when executing a .sln file. Nothing shows. How can I repopulate this list? Where is it stored? Registry? I tried to find entries, but since it doesn't actually have any items in the list, I couldn't search for a specific string. 回答1: I just encountered the same issue after installing Visual Studio 2015 parallel to

How do I add versions to “Visual Studio Version Selector”, my list is empty

﹥>﹥吖頭↗ 提交于 2021-01-27 03:59:03
问题 I have VS 2008, 2010, and 2012 installed. Initially, VS2013 Team Explorer was installed (Shell only). I uninstalled that. Now, the Visual Studio Version Selector shows an empty list when executing a .sln file. Nothing shows. How can I repopulate this list? Where is it stored? Registry? I tried to find entries, but since it doesn't actually have any items in the list, I couldn't search for a specific string. 回答1: I just encountered the same issue after installing Visual Studio 2015 parallel to

How do I add versions to “Visual Studio Version Selector”, my list is empty

大城市里の小女人 提交于 2021-01-27 03:56:34
问题 I have VS 2008, 2010, and 2012 installed. Initially, VS2013 Team Explorer was installed (Shell only). I uninstalled that. Now, the Visual Studio Version Selector shows an empty list when executing a .sln file. Nothing shows. How can I repopulate this list? Where is it stored? Registry? I tried to find entries, but since it doesn't actually have any items in the list, I couldn't search for a specific string. 回答1: I just encountered the same issue after installing Visual Studio 2015 parallel to

Building LLVM using Visual Studio

≯℡__Kan透↙ 提交于 2021-01-01 06:45:26
问题 I'm trying to build LLVM using visual studio 2012 (version 10.0). I have CMake installed and have run the following commands: svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm cd llvm\tools svn co http://llvm.org/svn/llvm-project/cfe/trunk clang cd .... mkdir build cd build cmake -G "Visual Studio 10" ..\llvm Running these commands works fine, until the last step. I receive a large number of warnings(?) which are as follows: -- Looking for dirent.h -- Looking for dirent.h - not found --