-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp-edition.csproj
More file actions
60 lines (51 loc) · 2.72 KB
/
app-edition.csproj
File metadata and controls
60 lines (51 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Project Sdk="Microsoft.NET.Sdk.Web">
<!-- This file helps VS Code provide IntelliSense - see https://go.2sxc.org/vscode -->
<PropertyGroup>
<!-- 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></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="$(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="$(PathBin)\DotNetNuke.dll" />
<Reference Include="$(PathBin)\DotNetNuke.*.dll" />
<Reference Include="$(PathBin)\System.Web.Http.dll" />
<Reference Include="$(PathBin)\System.Web.WebPages.dll" />
<!-- <Reference Include="$(PathBin)\System.Net.Http.dll" /> -->
<Reference Include="$(PathBin)\System.IdentityModel.Tokens.Jwt.dll" />
<Reference Include="$(PathBin)\Microsoft.IdentityModel.Tokens.dll" />
<Reference Include="$(PathBin)\System.Text.Json.dll" />
<!-- System.Web is not in the DNN folder but in the .net Framework installed on the server -->
<Reference Include="System.Web" />
<Reference Include="System.Net.Http" /> <!-- needed for RadminController so UI / VS-Code knows it's there -->
</ItemGroup>
<!-- Might need this for intellisense on data sources -->
<ItemGroup>
<!-- <PackageReference Include="System.Collections.Immutable" Version="8.0.0" /> -->
<Reference Include="$(PathBin)\System.Collections.Immutable.dll" />
</ItemGroup>
</Project>