Visual studio 2013 生成时Visual Studio 2013输出中的项目dll错误
当我构建我的项目时,我在输出窗口中得到以下消息:Visual studio 2013 生成时Visual Studio 2013输出中的项目dll错误,visual-studio-2013,dll,build,Visual Studio 2013,Dll,Build,当我构建我的项目时,我在输出窗口中得到以下消息: 1>------ Build started: Project: ProjectX, Configuration: Debug Any CPU ------ 1> ProjectX -> C:\Users\Alfred\Documents\Visual Studio 2013\Projects\ProjectX2015\ProjectX\ProjectX\bin\ProjectX.dll ========== Build: 1
1>------ Build started: Project: ProjectX, Configuration: Debug Any CPU ------
1> ProjectX -> C:\Users\Alfred\Documents\Visual Studio 2013\Projects\ProjectX2015\ProjectX\ProjectX\bin\ProjectX.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
我想它是在一个更新包之后开始的。它可以编译,但我开始想知道第二行是什么意思:
1> ProjectX -> C:\Users\Alfred\Documents\Visual Studio 2013\Projects\ProjectX2015\ProjectX\ProjectX\bin\ProjectX.dll
这是一个真正的错误还是一个可以忽略的问题?
下面是我的ProjectX.dll.config
(已消毒):
输出的第一行表示已启动项目的生成(名为“ProjectX”,带有“调试任何CPU”配置)。在第二行,它然后输出结果二进制文件的位置。最后,在第三行,它显示了当前解决方案中所有项目的构建结果
这是一个项目成功构建的标准输出。根据项目的复杂性,有时会有更多的行,但第1行和第3行总是在那里。显示输出文件位置的第2行仅在生成成功时出现。输出的第一行表示已启动项目的生成(名为“ProjectX”,带有“调试任何CPU”配置)。在第二行,它然后输出结果二进制文件的位置。最后,在第三行,它显示了当前解决方案中所有项目的构建结果
这是一个项目成功构建的标准输出。根据项目的复杂性,有时会有更多的行,但第1行和第3行总是在那里。显示输出文件位置的第2行仅在生成成功时出现。您已发布显示成功生成的输出。你说的是什么错误?您之前收到了什么消息?输出中的第二行提到了项目dll:1>ProjectX->C:\Users\Alfred\Documents\visualstudio 2013\Projects\ProjectX2015\ProjectX\ProjectX\bin\ProjectX.dll
。以前,项目只是在没有这一行的情况下构建。您确定这些构建是成功的吗?请看一下我的答案……您已经发布了显示成功构建的输出。你说的是什么错误?您之前收到了什么消息?输出中的第二行提到了项目dll:1>ProjectX->C:\Users\Alfred\Documents\visualstudio 2013\Projects\ProjectX2015\ProjectX\ProjectX\bin\ProjectX.dll
。以前,项目只是在没有这一行的情况下构建。您确定这些构建是成功的吗?请看一下我的答案。。。
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=XXX" requirePermission="false" />
</configSections>
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=(localdb)\v11.0;AttachDbFilename=|DataDirectory|\XXX.mdf;Initial Catalog=MyProject;Integrated Security=True;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="SecurityKey" value="XXX" />
</appSettings>
<system.web>
<authentication mode="None" />
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<httpModules>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" />
</httpModules>
<customErrors mode="Off"></customErrors>
</system.web>
<system.webServer>
<modules>
<remove name="FormsAuthentication" />
<remove name="ApplicationInsightsWebTracking" />
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" />
</modules>
<validation validateIntegratedModeConfiguration="false" />
<staticContent>
<remove fileExtension=".woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
</staticContent>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="XXX" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="XXX" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="XXX" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="XXX" />
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="XXX" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="XXX" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="XXX" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="XXX" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="XXX" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="XXX" />
<bindingRedirect oldVersion="1.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.AI.Agent.Intercept" publicKeyToken="XXX" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.1.0" newVersion="1.2.1.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="XXX" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="XXX" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
</configuration>