Skip to content

Commit

Permalink
minor / wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iJungleboy committed Dec 29, 2023
1 parent 39219be commit 7fd2d97
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions 2sxc Docs Generator/pages/guides/vscode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,44 @@ EndProject
<!-- This file helps VS Code provide IntelliSense - see https://go.2sxc.org/vscode -->

<PropertyGroup>
<TargetFramework>net4.7.2</TargetFramework>
<RootNamespace>App</RootNamespace>
<!-- Specify the .net Framework you are targeting - this is usually net4.7.2 or net4.8
https://learn.microsoft.com/en-us/dotnet/standard/frameworks
- eg "net472", "net48", "net8.0" etc.
- net472 is the default for DNN 9.8 and earlier but usually net48 works
- net8.0 is the default for Oqtane 5
-->
<TargetFramework>net472</TargetFramework>

<!-- Specify the default Namespace for code in this specific App -->
<RootNamespace>ThisApp</RootNamespace>

<!-- Specify what C# version to use
https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-version-history
- eg. "7.3", "8.0" or "12.0" (Oqtane 5+)
-->
<LangVersion>8.0</LangVersion>

<!-- Variable to path where the DLLs are in Dnn
- This allows you to easily adjust the path if you have a different location
- For clarity / consistency, we recommend to not end with a slash
- Below you will use it using $(PathBin)
-->
<!-- PathBin for Dnn -->
<PathBin>..\..\..\..\bin</PathBin>
<!-- PathBin Oqtane production, just up 3 folders, no bin-subfolder -->
<!-- <PathBin>..\..\..</PathBin> -->
<!-- PathBin Oqtane dev/debug, up 3 folders and current build folder -->
<!-- <PathBin>..\..\..\bin\Debug\net8.0</PathBin> -->
</PropertyGroup>

<ItemGroup>
<!-- Tell Visual Studio & VSCode to respect all ToSic.* DLLs in the root bin folder -->
<Reference Include="..\..\..\..\bin\ToSic.*.dll" />
<Reference Include="$(PathBin)\ToSic.*.dll" />

<!-- also add System.Web and DotNetNuke DLLs - useful when creating APIs, but be aware that it may make your code less hybrid -->
<Reference Include="..\..\..\..\bin\DotNetNuke.dll" />
<Reference Include="..\..\..\..\bin\DotNetNuke.*.dll" />
<Reference Include="..\..\..\..\bin\System.Web.Http.dll" />
<Reference Include="$(PathBin)\DotNetNuke.dll" />
<Reference Include="$(PathBin)\DotNetNuke.*.dll" />
<Reference Include="$(PathBin)\System.Web.Http.dll" />
</ItemGroup>

<!-- Polymorphism
Expand Down

0 comments on commit 7fd2d97

Please sign in to comment.