问题标签 [visual-studio-2017-build-tools]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - Visual Studio 2017 与 Visual Studio 2019 与 Android 应用程序开发的区别
我正在尝试通过在此处遵循本教程来制作一个简单的 android 应用程序:https ://youtu.be/5CgQUbnf1Qk
在这个视频中,这个人似乎只是将一个按钮拖到了他的应用程序上,不需要做任何重新调整就可以让它在他想要的位置。他正在使用 VS 2017,而我正在使用 VS 2019,现在的问题是当我尝试按照他的示例进行操作时,我的按钮超出了文本栏,而我还没有找到让按钮进入文本栏下方的方法就像在视频中一样。请问有谁知道我该如何解决这个问题?谢谢
c - Visual Studio 2017 构建工具 - 无法分配常量大小 0 的数组
所以我正在使用 vc15 编译器并且很难找到允许以下错误的标志:
我正在使用 CMake,看起来我需要启用 Za 标志,因为我认为这是有效的 C99。但不确定如何启用它。
https://docs.microsoft.com/en-us/cpp/build/reference/za-ze-disable-language-extensions?view=vs-2019
/Za 编译器选项为与 ANSI C89/ISO C90 不兼容的 C 的 Microsoft 扩展禁用并发出错误。不推荐使用的 /Ze 编译器选项启用 Microsoft 扩展。默认情况下启用 Microsoft 扩展。
这是我的CMakeLists.txt文件在下面
我尝试使用 CXX 标志,但我猜这些标志是用于 C++ 的。我正在使用 CMake 3.15。
asp.net - 给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)-Visual Studio 2017
我有 .NET Framework 4.5.2 的普通 ASP.NET 项目,它作为网站项目 (WSP) 工作得很好,但我尝试将此项目更改为 Web 应用程序项目 (WAP)。我没有更改项目代码主体中的任何内容,我只添加具有控件定义的设计器并添加 WSP 项目所需的默认命名空间。但是 aspnet_compiler 崩溃并显示以下消息(这是 MSBuild 过程的一部分):
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -p E:\Projects\Arenda_5\MyArenda\ArendaNew\obj\Debug\AspnetCompileMerge\Source -d E:\Projects\Arenda_5\ MyArenda\ArendaNew\obj\Debug\AspnetCompileMerge\TempBuildDir -errorstack
Microsoft (R) ASP.NET 编译工具版本 4.8.3752.0 用于预编译 ASP.NET 应用程序的实用程序 版权所有 (C) Microsoft Corporation。版权所有。(0):警告:以下程序集依赖于高于目标的 .NET Framework 版本,并且在运行时可能无法正确加载导致失败:ArendaNew、Version=1.0.0.0、Culture=neutral、PublicKeyToken=无效的。依赖项是:Microsoft.VisualBasic、Version=10.0.0.0、Culture=neutral、PublicKeyToken=b03f5f7f11d50a3a。您应该确保依赖程序集对于目标框架是正确的,或者确保您正在处理的目标框架是依赖程序集的框架。
E:\Projects\Arenda_5\MyArenda\ArendaNew\obj\Debug\AspnetCompileMerge\Source\global.asax(41):警告BC42025:通过实例访问共享成员、常量成员、枚举成员或嵌套类型;不计算限定表达式
……
E:\Projects\Arenda_5\MyArenda\ArendaNew\obj\Debug\AspnetCompileMerge\Source\My_Saved.ashx(43):警告BC42025:通过实例访问共享成员、常量成员、枚举成员或嵌套类型;将不评估限定表达式。
错误 ASPPARSE:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)
错误 ASPPARSE:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)
错误 ASPPARSE:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)
错误 ASPPARSE:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)
错误 ASPPARSE:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)
错误 ASPPARSE:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)
[FileLoadException]:给定的程序集名称或代码库无效。(HRESULT 的异常:0x80131047)在 System.Reflection.AssemblyName.nInit(RuntimeAssembly& 程序集,布尔 forIntrospection,布尔 raiseResolveEvent)在 System.Reflection.AssemblyName..ctor(字符串 assemblyName)在 System.Web.Configuration.CompilationSection.LoadAssembly(字符串assemblyName, Boolean throwOnFail) 在 System.Web.UI.TemplateParser.LoadAssembly(String assemblyName, Boolean throwOnFail) 在 System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies) 在 System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore( TagNamespaceRegisterEntry nsRegisterEntry) 在 System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistration(ArrayList nsRegisterEntries)
[HttpParseException]:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)在 System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistration(TagNamespaceRegisterEntry nsRegisterEntry) 的 System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistration(ArrayList nsRegisterEntries) 在 System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary指令)在 System.Web.UI.TemplateControlParser.ProcessDirective(字符串指令名称,IDictionary 指令)在 System.Web.UI.PageParser.ProcessDirective(字符串指令名称,IDictionary 指令)在 System.Web.UI.TemplateParser.ParseStringInternal(字符串文本,编码文件编码)
[HttpParseException]:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)在 System.Web.UI.TemplateParser.ParseReader(StreamReader reader,VirtualPath virtualPath)的 System.Web.UI.TemplateParser.ParseReader(StreamReader reader,VirtualPath virtualPath)的 System.Web.UI.TemplateParser.ParseString(字符串文本,VirtualPath virtualPath,Encoding fileEncoding) .TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) 在 System.Web.UI.TemplateParser.Parse() 在 System.Web.UI.TemplateParser.Parse() 在 System.Web.UI.TemplateParser.ParseInternal() 在 System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() 在 System. Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) 在 System.Web.Compilation.WebDirectoryBatchCompiler.CompileNonDependentBuildProviders(ICollection buildProviders)
[HttpParseException]:给定的程序集名称或代码库无效。(来自 HRESULT 的异常:0x80131047)在 System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) 在 System.Web.Compilation.WebDirectoryBatchCompiler.Process() 在 System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) 在 System.Web.Compilation.BuildManager.PrecompileWebDirectoriesRecursive(VirtualDirectory vdir, Boolean topLevel) 在 System.Web.Compilation.BuildManager.PrecompileAppInternal(VirtualPath startingVirtualDir, IEnumerable
1 excludedVirtualPaths) at System.Web.Compilation.BuildManager.PrecompileApp(VirtualPath startingVirtualDir, IEnumerable
1 excludeVirtualPaths) 在 System.Web.Compilation.BuildManager。 PrecompileApp(ClientBuildManagerCallback 回调,IEnumerable1 excludedVirtualPaths) at System.Web.Compilation.BuildManagerHost.PrecompileApp(ClientBuildManagerCallback callback, List
System.Web.Compilation.ClientBuildManager.PrecompileApplication(ClientBuildManagerCallback callback, Boolean forceCleanBuild) 在 System.Web.Compilation.ClientBuildManager.PrecompileApplication( ClientBuildManagerCallback 回调)在 System.Web.Compilation.Precompiler.Main(String[] args)
ssis - 在 Visual Studio(SSIS 工具)中确定逗号或点作为十进制分隔符
在我的 SSIS 项目中,我正在运行一个计算。此计算会根据用户的区域设置更改小数分隔符。
我的问题是是否有任何方法可以覆盖它,以便我可以选择这个项目或这个包应该以指定的区域设置运行?
我已经尝试根据我能找到的其他来源的建议更改 LocaleID,但它没有帮助。
我的环境:
适用于 Visual Studio 2017 (SSDT) 版本 15.9.19 的 Visual Studio 2017 Microsoft SQL Server 数据工具。Windows 2016 10.0.14393 内部版本 14393
先感谢您。
visual-studio - 我可以在 Visual Studio 2017 上获得 Windows SDK for xp 吗?
我想编译从 github 获得的旧 C++ 源代码,这是需要 windows xp SDK 和 v141_xp 构建工具的旧应用程序,我尝试从https://www.microsoft.com/en-us手动下载/download/details.aspx?id=8442但在我的 IDE 上没有检测到。如您所知,旧 Windows SDK 在 Visual Studio 软件包安装程序中不可用
c# - 已发布的文件夹名称和清单未更新
我有一个 C# Windows 窗体应用程序。我使用发布配置文件发布到本地文件夹,然后将其复制到服务器。企业将运行设置并安装它。
- VStudio 版本 - VisualStudio -2017
- .NET 框架 - 4.8
我已经使用 assemblyInfo.cs 文件手动更改了程序集版本,我当前的版本是 2.0.0.7。但我面临以下问题。
- 为了暂时纠正这个错误,我手动将文件夹名称更新为当前版本和应用程序清单文件以指向当前文件夹位置。
- 但是,我仍然面临部署问题。但我知道手动更改不是正确的方法。我错过了一些东西。我不知道该怎么做。请指导我并尝试永久修复它。
c++ - 如何为 Unreal Engine 4 启用 /arch:AVX?
我正在尝试为 Unreal Engine 4 设置 AVX 支持。据我所知,它默认使用 SSE2 并且它是自己的 NMake,因此没有 Visual Studio 属性页面可以访问和添加 Arch。
我应该在哪里设置这个?
注意:尝试支持 AVX、AVX2 和 AVX512。
c# - System.Net,无法解析符号“Net”
我迷路了。我的 .NET Framework 4.6.2 无法解决我使用 System.Net 的问题。我已经添加了程序集参考,但是参考上有那个黄色警告三角形。我是怎么搞砸的?
由于其他依赖项,我坚持使用 4.6.2
visual-studio-2017 - 如何知道解决方案是使用 .sln 文件构建在调试模式还是发布模式?
我有 .sln 文件,我想知道该解决方案的项目是否使用 .sln 文件以调试或发布模式构建。有没有办法找到模式?
提前致谢!