Symbol status showing “Skipped Loading” for dll in modules window?

后端 未结 1 1686
南笙
南笙 2020-12-10 16:27

I\'ve recently upgraded some solution(s) to Visual studio 2013. All went OK apart from one which now generates the:

Symbol for the modules \'name\' we

相关标签:
1条回答
  • 2020-12-10 17:00

    After painfully comparing two project files, one that worked and one that didn't I noticed that the proj that worked had:

    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
        <DebugSymbols>true</DebugSymbols>
        <DebugType>full</DebugType>
        **<Optimize>false</Optimize>**
        <OutputPath>bin\</OutputPath>
        <DefineConstants>DEBUG;TRACE</DefineConstants>
        <ErrorReport>prompt</ErrorReport>
        <WarningLevel>4</WarningLevel>
      </PropertyGroup>
    

    Where as my one had

    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
        <DebugSymbols>true</DebugSymbols>
        <DebugType>full</DebugType>
        **<Optimize>true</Optimize>**
        <OutputPath>bin\</OutputPath>
        <DefineConstants>DEBUG;TRACE</DefineConstants>
        <ErrorReport>prompt</ErrorReport>
        <WarningLevel>4</WarningLevel>
    
      </PropertyGroup>
    

    By setting the <Optimize> property to false all issues went away.

    This answer also seems relevant as the .csproj.user file can be out of sync, I deleted it.

    0 讨论(0)
提交回复
热议问题