当我在Visual Studio 2015中转到"新建项目"对话框时,Windows Installer XML不可用.如何在Visual Studio 2015中启用WiX项目?
我已经安装了Visual Studio 2013和Visual Studio 2015.在VS2013中创建的项目和解决方案由VS2013按照我的预期打开,但我希望能够升级这些文件,以便在双倍时打开VS2015点击.
如何升级VS2013格式的解决方案文件,以便Microsoft Visual Studio版本选择器在VS2015中打开它们?
在Visual Studio 2013及更高版本中,当您按Ctrl +单击时,会有Peek定义功能.起初我觉得这很酷,但我发现在大多数情况下,我需要点击Promote to Document
按钮,因为我对文件进行了很多更改我按Ctrl +单击.但谷歌搜索后如何关闭Peek定义,我找不到任何细节,如果这是可能的.我真正想要的是Ctrl + Click功能返回到在自己的选项卡中打开定义,就像在以前版本的VS中一样.这可能吗?
productivity-power-tools visual-studio-2013 visual-studio-2015
在我的VS2010中,当我构建我的解决方案时,我在Microsoft.Common.Targets文件中有超过100个警告.当我尝试构建,发布或运行我的程序时,我只收到警告,但是当我双击它以获取更多信息时,会弹出Microsoft.Common.Targets,然后我会收到警告.
此文件Microsoft.Common.Targets是.net框架的一部分,具有MSBuild内置目标等.它在属性窗口中具有关联的模式.
一些示例警告(100个中的2个):
Warning 2 The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'CustomBeforeMicrosoftCommonTargets' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible elements expected: 'Property' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets 22 10 Miscellaneous Files
Warning 3 The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element '_OriginalConfiguration' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible elements expected: 'Property' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets 60 10 Miscellaneous Files
Run Code Online (Sandbox Code Playgroud)
为什么这个文件突然出现在我的编辑器中,当它不是我的项目的一部分时,以及如何告诉visual studio在构建时忽略这个框架文件.
visual-studio-2010 visual-studio-2012 visual-studio-2013 visual-studio-2015
我的项目构建都失败了,但我没有显示任何错误.我试过清洁和重建,但没有用.
我将MSBuild输出详细程度改为'Diagnostic',希望它能帮我识别问题,现在我卡住了.这是输出的样子:
1>Project 'ProjectMM.Data.Models' is not up to date. Input file 'C:\Projects\ProjectMM\ProjectMM.Data.Models\ProjectMM.Data.Models.csproj' is modified after output file 'C:\Projects\ProjectMM\ProjectMM.Data.Models\bin\Debug\ProjectMM.Data.Models.pdb'.
All packages are already installed and there is nothing to restore.
1>------ Build started: Project: ProjectMM.Data.Models, Configuration: Debug Any CPU ------
2>Project 'ProjectMM.Data' is not up to date. Input file 'C:\Projects\ProjectMM\ProjectMM.Data\ProjectMM.Data.csproj' is modified after output file 'C:\Projects\ProjectMM\ProjectMM.Data\bin\Debug\ProjectMM.Data.pdb'.
2>------ Build started: Project: ProjectMM.Data, Configuration: Debug Any CPU ------
3>Project 'ProjectMM' is not up to date. Input file 'c:\projects\projectmm\projectmm\app_start\bundleconfig.cs' is modified after output file …
Run Code Online (Sandbox Code Playgroud) 有人可以解释一下
__imp__fprintf
和
__imp____iob_func
未解决的外部手段?
因为我在尝试编译时遇到这些错误:
1>SDL2main.lib(SDL_windows_main.obj) : error LNK2019: unresolved external symbol __imp__fprintf referenced in function _ShowError
1>SDL2main.lib(SDL_windows_main.obj) : error LNK2019: unresolved external symbol __imp____iob_func referenced in function _ShowError
1>E:\Documents\Visual Studio 2015\Projects\SDL2_Test\Debug\SDL2_Test.exe : fatal error LNK1120: 2 unresolved externals
Run Code Online (Sandbox Code Playgroud)
我已经可以说问题不在于连接错误.我已经正确地链接了所有内容,但由于某种原因它无法编译.
我正在尝试使用SDL2.
我正在使用Visual Studio 2015作为编译器.
我已链接到链接器中的SDL2.lib和SDL2main.lib - >输入 - >附加依赖项,我确保VC++目录是正确的.
今天,我的Visual Studio 2012的查找结果功能停止了工作."查找结果"窗口显示摘要信息,但不显示匹配的实际行.这是我的查找结果窗口显示的全部内容:
Find all "mytext", Subfolders, Find Results 1, Entire Solution, ""
Matching lines: 40 Matching files: 10 Total files searched: 1129
Run Code Online (Sandbox Code Playgroud)
我已经尝试了微软论坛海报试过的所有修复:
http://social.msdn.microsoft.com/Forums/en-US/csharpide/thread/1a02f076-29f7-46d1-879a-f8ae6d6abe95
他的解决方案是重新格式化并重新安装.Microsoft MSDN Forum Assistant的答案非常棒:
"很高兴知道你不会被这个奇怪的问题困扰."
有没有人找到这个问题的实际解决方案?
visual-studio visual-studio-2012 visual-studio-2013 visual-studio-2015
我有一个ASP.NET核心项目,当我尝试构建它时,我收到此错误:
error TS18003: Build:No inputs were found in config file 'Z:/Projects/client/ZV/src/ZV/Scripts/tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '["../wwwroot/app","node_modules/*"]'.
1> The command exited with code 1.
1> Done executing task "VsTsc" -- FAILED.
Run Code Online (Sandbox Code Playgroud)
这是我的tsconfig.json
档案:
{
"compileOnSave": true,
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [ "es5", "dom" ],
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": true,
"noImplicitAny": false,
"outDir": "../wwwroot/app/",
"removeComments": false,
"sourceMap": true,
"target": "es6"
},
"exclude": [
"../wwwroot/app",
"node_modules/*"
]
}
Run Code Online (Sandbox Code Playgroud)
这是一个错误还是我做错了什么?我最近升级Visual Studio 2015更新3.有没有人遇到过这个?
我在Visual Studio 2015(带有resharper)的上下文中工作,并且正在引用node.js的typescript定义文件.我有3个其他VS项目使用node.d.ts没有问题.然而,在这个新项目中,我现在有146个错误说同样的事情:
"Typescript Feature 1.5.当前语言级别为1.4".
对于我的生活,我无法告诉Visual Studio(或Resharper?)使用最新的打字稿语言版本.
我试过了: 工具>选项>打字稿>项目>常规> ECMAScript6(已选中)不起作用
另外:npm install -g typescript不起作用
我怎么告诉VS使用Typescript 1.5.3(node.d.td要求的)?
直到今天,我可以使用主要构造函数,例如:
public class Test(string text)
{
private string mText = text;
}
Run Code Online (Sandbox Code Playgroud)
为了能够做到这一点,在以前的Visual Studio CTP中,我不得不将其添加到csproj文件中:
<LangVersion>Experimental</LangVersion>
Run Code Online (Sandbox Code Playgroud)
无论如何,这不再适用于Visual Studio 2015预览版(有或没有LangVersion
).有没有人对可能发生的事情有任何想法?
typescript ×2
asp.net-core ×1
build ×1
c# ×1
c#-6.0 ×1
c++ ×1
json ×1
msbuild ×1
sdl-2 ×1
wix ×1