Skip to content

Commit

Permalink
ClickOnce Security enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
GLifeDE committed Jun 10, 2021
1 parent 4db1cc2 commit b800891
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions Durchschnittsrechner/Durchschnittsrechner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
<StartupObject>Durchschnittsrechner.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Rechner-Icon.ico</ApplicationIcon>
Expand All @@ -61,17 +61,17 @@
<ManifestKeyFile>Durchschnittsrechner_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>false</GenerateManifests>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>
<SignManifests>true</SignManifests>
</PropertyGroup>
<PropertyGroup>
<TargetZone>LocalIntranet</TargetZone>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup />
<PropertyGroup />
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -88,7 +88,6 @@
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="Durchschnittsrechner_TemporaryKey.pfx" />
<None Include="Properties\app.manifest" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Durchschnittsrechner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Program
{
static void Main(string[] args)
{
Console.Title = "Durchschnittsrechner V4.2.2";
Console.Title = "Durchschnittsrechner V4.2.3";

Program.Programm();

Expand Down
4 changes: 2 additions & 2 deletions Durchschnittsrechner/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("4.2.2")]
[assembly: AssemblyFileVersion("4.2.2")]
[assembly: AssemblyVersion("4.2.3")]
[assembly: AssemblyFileVersion("4.2.3")]
[assembly: NeutralResourcesLanguage("de-DE")]
2 changes: 1 addition & 1 deletion Durchschnittsrechner/Properties/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
<applicationRequestMinimum>
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" SameSite="site" Unrestricted="true" />
</applicationRequestMinimum>
</security>
</trustInfo>
Expand Down

0 comments on commit b800891

Please sign in to comment.