Skip to content

Commit b175f18

Browse files
committed
Reintroduced barebones web.config
At minimum, the `OnTopic.Editor.Web` project needs a reference to `netstandard`. Without this, it will still compile, oddly, but will throw a lot of errors in code analysis due to the **IntelliSense**'s (?) inability to parse the **.NET Standard** libraries (e.g., `OnTopic`, `OnTopic.Web`). Keeping it in doesn't hurt anything, and remains smaller than the previous one we removed.
1 parent 9c5902d commit b175f18

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

OnTopic.Editor.Web/OnTopic.Editor.Web.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,9 @@
10931093
<Folder Include="Common\Scripts\Vendor\ExtJS\resources\images\vista\dd\" />
10941094
<Folder Include="Common\Scripts\Vendor\ExtJS\resources\images\vista\tree\" />
10951095
</ItemGroup>
1096+
<ItemGroup>
1097+
<Content Include="Web.config" />
1098+
</ItemGroup>
10961099
<PropertyGroup>
10971100
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
10981101
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>

OnTopic.Editor.Web/Web.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<system.web>
4+
<compilation debug="true">
5+
<assemblies>
6+
<add assembly="netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" />
7+
</assemblies>
8+
</compilation>
9+
</system.web>
10+
</configuration>

0 commit comments

Comments
 (0)