Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 91f5be8

Browse files
committed
Remove dependency on other repositories by using PackageReference.
1 parent 6509dfd commit 91f5be8

File tree

3 files changed

+7
-52
lines changed

3 files changed

+7
-52
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,13 @@
33

44
## Requirements
55

6-
- [CSharp.lua](https://github.com/Drake53/CSharp.lua)
7-
- [War3Net](https://github.com/Drake53/War3Net)
86
- [Visual Studio](https://visualstudio.microsoft.com/vs/)
97

108
## Setup
119

12-
- Clone [CSharp.lua](https://github.com/Drake53/CSharp.lua), [War3Net](https://github.com/Drake53/War3Net), and this repository.
13-
- Make sure the project directories share the same root directory, and are named "CSharp.lua" and "War3Net", so that .csproj dependencies can be resolved.
14-
- Create a new warcraft III map, or use an existing map.
15-
- Save the map either as folder (recommended), or as file.
10+
- Clone this repository.
11+
- Create a new warcraft III map, or use an existing map, and save it either as folder (recommended), or as file.
1612
- Edit the strings in War3Map.Example.Launcher.ExampleStringProvider accordingly.
17-
- Run the code in visual studio, with War3Map.Example.Launcher as startup project, to make sure everything is working.
18-
- When Warcraft III launches, you should see the message "Hello World!" appear after one second.
13+
- Run the code in visual studio, with War3Map.Example.Launcher as startup project, and verify that the map loads correctly.
1914
- Now that everything seems to be working, you can start editing the code in War3Map.Example.Source.
2015
- You can also update the player and force settings in War3Map.Example.Launcher.PlayerAndForceProperties.

War3Map.Example.Launcher/War3Map.Example.Launcher.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<ProjectReference Include="..\..\War3Net\src\War3Net.Build\War3Net.Build.csproj" />
12-
<ProjectReference Include="..\..\War3Net\src\War3Net.IO.Mpq\War3Net.IO.Mpq.csproj" />
1311
<ProjectReference Include="..\War3Map.Example.Source\War3Map.Example.Source.csproj" />
1412
</ItemGroup>
1513

14+
<ItemGroup>
15+
<PackageReference Include="War3Net.Build" Version="0.1.1" />
16+
</ItemGroup>
17+
1618
<ItemGroup>
1719
<None Remove="Assets\**" />
1820
<Content Include="Assets\**">

War3Map.Example.sln

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Map.Example.Launcher",
77
EndProject
88
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Map.Example.Source", "War3Map.Example.Source\War3Map.Example.Source.csproj", "{9274D82E-98E3-4729-B010-9B40FC7F6E66}"
99
EndProject
10-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Net.Build", "..\War3Net\src\War3Net.Build\War3Net.Build.csproj", "{A9A38BC1-DA13-4726-B902-460EBBD09601}"
11-
EndProject
12-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Net.IO.Mpq", "..\War3Net\src\War3Net.IO.Mpq\War3Net.IO.Mpq.csproj", "{AA1EDB00-04BC-439F-822E-239C2EA8E130}"
13-
EndProject
14-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSharp.lua", "..\CSharp.lua\CSharp.lua\CSharp.lua.csproj", "{4E545B01-7410-4E38-BAD0-49C6BADB4E52}"
15-
EndProject
16-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Net.IO.Compression", "..\War3Net\src\War3Net.IO.Compression\War3Net.IO.Compression.csproj", "{697EFCF7-67BE-45E6-B181-65AF313F7CD7}"
17-
EndProject
18-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Net.CodeAnalysis.Jass", "..\War3Net\src\War3Net.CodeAnalysis.Jass\War3Net.CodeAnalysis.Jass.csproj", "{8FAAEF03-B26A-498B-9861-C23E957480A4}"
19-
EndProject
20-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Net.CodeAnalysis.CSharp", "..\War3Net\src\War3Net.CodeAnalysis.CSharp\War3Net.CodeAnalysis.CSharp.csproj", "{E115211A-BD24-4763-A294-3743B4684F22}"
21-
EndProject
22-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Net.CodeAnalysis.Common", "..\War3Net\src\War3Net.CodeAnalysis.Common\War3Net.CodeAnalysis.Common.csproj", "{891C8F54-D567-44AF-B22D-BA4C5B61BC22}"
23-
EndProject
2410
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "War3Map.Example.Source.Dependency", "War3Map.Example.Source.Dependency\War3Map.Example.Source.Dependency.csproj", "{ADB743E0-ED95-4EFC-B553-CA92C7C9BDD8}"
2511
EndProject
2612
Global
@@ -37,34 +23,6 @@ Global
3723
{9274D82E-98E3-4729-B010-9B40FC7F6E66}.Debug|Any CPU.Build.0 = Debug|Any CPU
3824
{9274D82E-98E3-4729-B010-9B40FC7F6E66}.Release|Any CPU.ActiveCfg = Release|Any CPU
3925
{9274D82E-98E3-4729-B010-9B40FC7F6E66}.Release|Any CPU.Build.0 = Release|Any CPU
40-
{A9A38BC1-DA13-4726-B902-460EBBD09601}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41-
{A9A38BC1-DA13-4726-B902-460EBBD09601}.Debug|Any CPU.Build.0 = Debug|Any CPU
42-
{A9A38BC1-DA13-4726-B902-460EBBD09601}.Release|Any CPU.ActiveCfg = Release|Any CPU
43-
{A9A38BC1-DA13-4726-B902-460EBBD09601}.Release|Any CPU.Build.0 = Release|Any CPU
44-
{AA1EDB00-04BC-439F-822E-239C2EA8E130}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45-
{AA1EDB00-04BC-439F-822E-239C2EA8E130}.Debug|Any CPU.Build.0 = Debug|Any CPU
46-
{AA1EDB00-04BC-439F-822E-239C2EA8E130}.Release|Any CPU.ActiveCfg = Release|Any CPU
47-
{AA1EDB00-04BC-439F-822E-239C2EA8E130}.Release|Any CPU.Build.0 = Release|Any CPU
48-
{4E545B01-7410-4E38-BAD0-49C6BADB4E52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
49-
{4E545B01-7410-4E38-BAD0-49C6BADB4E52}.Debug|Any CPU.Build.0 = Debug|Any CPU
50-
{4E545B01-7410-4E38-BAD0-49C6BADB4E52}.Release|Any CPU.ActiveCfg = Release|Any CPU
51-
{4E545B01-7410-4E38-BAD0-49C6BADB4E52}.Release|Any CPU.Build.0 = Release|Any CPU
52-
{697EFCF7-67BE-45E6-B181-65AF313F7CD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
53-
{697EFCF7-67BE-45E6-B181-65AF313F7CD7}.Debug|Any CPU.Build.0 = Debug|Any CPU
54-
{697EFCF7-67BE-45E6-B181-65AF313F7CD7}.Release|Any CPU.ActiveCfg = Release|Any CPU
55-
{697EFCF7-67BE-45E6-B181-65AF313F7CD7}.Release|Any CPU.Build.0 = Release|Any CPU
56-
{8FAAEF03-B26A-498B-9861-C23E957480A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
57-
{8FAAEF03-B26A-498B-9861-C23E957480A4}.Debug|Any CPU.Build.0 = Debug|Any CPU
58-
{8FAAEF03-B26A-498B-9861-C23E957480A4}.Release|Any CPU.ActiveCfg = Release|Any CPU
59-
{8FAAEF03-B26A-498B-9861-C23E957480A4}.Release|Any CPU.Build.0 = Release|Any CPU
60-
{E115211A-BD24-4763-A294-3743B4684F22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
61-
{E115211A-BD24-4763-A294-3743B4684F22}.Debug|Any CPU.Build.0 = Debug|Any CPU
62-
{E115211A-BD24-4763-A294-3743B4684F22}.Release|Any CPU.ActiveCfg = Release|Any CPU
63-
{E115211A-BD24-4763-A294-3743B4684F22}.Release|Any CPU.Build.0 = Release|Any CPU
64-
{891C8F54-D567-44AF-B22D-BA4C5B61BC22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
65-
{891C8F54-D567-44AF-B22D-BA4C5B61BC22}.Debug|Any CPU.Build.0 = Debug|Any CPU
66-
{891C8F54-D567-44AF-B22D-BA4C5B61BC22}.Release|Any CPU.ActiveCfg = Release|Any CPU
67-
{891C8F54-D567-44AF-B22D-BA4C5B61BC22}.Release|Any CPU.Build.0 = Release|Any CPU
6826
{ADB743E0-ED95-4EFC-B553-CA92C7C9BDD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
6927
{ADB743E0-ED95-4EFC-B553-CA92C7C9BDD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
7028
{ADB743E0-ED95-4EFC-B553-CA92C7C9BDD8}.Release|Any CPU.ActiveCfg = Release|Any CPU

0 commit comments

Comments
 (0)