Skip to content

Commit 82c732c

Browse files
committed
Added publish.bat to publish to folder.
1 parent 40bc5c8 commit 82c732c

File tree

11 files changed

+120
-2
lines changed

11 files changed

+120
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*/obj/
22
*/bin/
3+
Publish/
4+
packages/
35
idloutput/
46
*.suo
57
*.tlb
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Publish</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
</PropertyGroup>
13+
</Project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Publish</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
</PropertyGroup>
13+
</Project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Publish</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
</PropertyGroup>
13+
</Project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Publish</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
</PropertyGroup>
13+
</Project>

DsmSuite.DsmViewer.View/DsmSuite.DsmViewer.View.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
1010
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
1111
</PropertyGroup>
12-
<PropertyGroup />
12+
<PropertyGroup>
13+
<ApplicationIcon>Resources/DSM.ico</ApplicationIcon>
14+
</PropertyGroup>
1315
<ItemGroup>
1416
<AppDesigner Include="Properties\" />
1517
</ItemGroup>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Publish\</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
</PropertyGroup>
13+
</Project>

DsmSuite.sln

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DsmSuite.Common.Util", "Dsm
9696
EndProject
9797
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7656A058-A888-4638-9FF0-CFCB56D1323A}"
9898
ProjectSection(SolutionItems) = preProject
99+
dsmanalyzer.xml = dsmanalyzer.xml
100+
publish.bat = publish.bat
99101
test.runsettings = test.runsettings
100102
EndProjectSection
101103
EndProject

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
This is a copy of https://github.com/dsmsuite/dsmsuite.sourcecode with the following changes:
1+
This is a copy of https://github.com/dsmsuite/dsmsuite.sourcecode with the changes listed below.
2+
3+
## Installation
4+
5+
You can install this version of DsmSuite by unzipping DsmSuite.zip in a directory of your choice (e.g. \Program Files). This will create a directory DsmSuite with the programs inside.
6+
7+
## Invocation
8+
The viewer is invoked by `DsmViewer` (instead of `DsmSuite.DsmViewer.View`).
9+
10+
## Building
11+
The project can be build the usual way in Visual Studio. After it builds successfully, running `publish.bat` will create a distribution directory in `Publish\DsmSuite'. `dsmanalyzer.xml` contains dsm analyzer settings that use the distrubtion directory.
12+
13+
## Changes
214

315
* 24-06-09 Weight visualised in the cell by a coloured bar.
416
* 24-06-12 Added class diagrams and documentation comments.
517
* 24-07-02 Better tests and bugfixes.
618
* 24-07-03 Upgraded to net8.
19+
* 24-08-10 Distribute as a zip file instead of .msi.
20+

dsmanalyzer.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<AnalyzerSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<LogLevel>Error</LogLevel>
4+
<Input>
5+
<AssemblyDirectory>Publish/DsmSuite</AssemblyDirectory>
6+
</Input>
7+
<Transformation>
8+
<IgnoredNames>
9+
<string>^System.</string>
10+
<string>^Microsoft.</string>
11+
<string>^Interop</string>
12+
<string>&lt;</string>
13+
<string>^_</string>
14+
</IgnoredNames>
15+
</Transformation>
16+
<Output>
17+
<Filename>dsmsuite.dsi</Filename>
18+
<Compress>true</Compress>
19+
</Output>
20+
</AnalyzerSettings>

0 commit comments

Comments
 (0)