Skip to content

Commit

Permalink
Aggiunto file AUTHORS.md e allineamento progetto
Browse files Browse the repository at this point in the history
  • Loading branch information
gpicchiarelli committed Sep 1, 2023
1 parent 471fafe commit e4b5d16
Show file tree
Hide file tree
Showing 26 changed files with 300 additions and 1 deletion.
29 changes: 29 additions & 0 deletions Installer/Installer.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>

<ItemGroup>
<None Remove="*.msi" />
<None Remove="*.exe" />
<None Remove="*.wxs" />
<None Remove="*.wixpdb" />
<None Remove="*.wixobj" />
<None Remove="CustomAction.config" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="WixSharp-wix4" Version="2.0.0" />
</ItemGroup>

<ItemGroup>
<Reference Include="System.Windows.Forms" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="cd .\&#xD;&#xA;set ide=true&#xD;&#xA;&quot;$(TargetPath)&quot;" />
</Target>

</Project>
39 changes: 39 additions & 0 deletions Installer/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System;
using WixSharp;
using WixSharp.Bootstrapper;

namespace Installer
{
internal class Program
{
static void Main()
{
string productMsi = BuildMsi();

var bootstrapper =
new Bundle("MyProduct",
new PackageGroupRef("NetFx462Web"),
new MsiPackage(productMsi) { DisplayInternalUI = true });

bootstrapper.Version = new Version("1.0.0.0");
bootstrapper.UpgradeCode = new Guid("6f330b47-2577-43ad-9095-1861bb25844b");
// bootstrapper.Application = new SilentBootstrapperApplication();
// bootstrapper.PreserveTempFiles = true;

bootstrapper.Build("MyProduct.exe");
}

static string BuildMsi()
{
var project = new Project("MyProduct",
new Dir(@"%ProgramFiles%\My Company\My Product",
new File("Program.cs")));

project.GUID = new Guid("6fe30b47-2577-43ad-9095-1861ba25889b");
//project.SourceBaseDir = "<input dir path>";
//project.OutDir = "<output dir path>";

return project.BuildMsi();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
23 changes: 23 additions & 0 deletions Installer/obj/Debug/net472/Installer.AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il codice viene rigenerato.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("Installer")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Installer")]
[assembly: System.Reflection.AssemblyTitleAttribute("Installer")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generato dalla classe WriteCodeFragment di MSBuild.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
44531b85995178aea1e039c922fb705f3d5196c8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
is_global = true
build_property.RootNamespace = Installer
build_property.ProjectDir = C:\Users\Giacomo\source\repos\accorda.net\Installer\
Binary file added Installer/obj/Debug/net472/Installer.assets.cache
Binary file not shown.
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
63 changes: 63 additions & 0 deletions Installer/obj/Installer.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"format": 1,
"restore": {
"C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\Installer.csproj": {}
},
"projects": {
"C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\Installer.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\Installer.csproj",
"projectName": "Installer",
"projectPath": "C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\Installer.csproj",
"packagesPath": "C:\\Users\\Giacomo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Giacomo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net472"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net472": {
"targetAlias": "net472",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net472": {
"targetAlias": "net472",
"dependencies": {
"WixSharp-wix4": {
"target": "Package",
"version": "[2.0.0, )"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
}
},
"runtimes": {
"win7-x86": {
"#import": []
}
}
}
}
}
16 changes: 16 additions & 0 deletions Installer/obj/Installer.csproj.nuget.g.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">False</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Giacomo\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Giacomo\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions Installer/obj/Installer.csproj.nuget.g.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
84 changes: 84 additions & 0 deletions Installer/obj/project.assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"version": 3,
"targets": {
".NETFramework,Version=v4.7.2": {},
".NETFramework,Version=v4.7.2/win7-x86": {}
},
"libraries": {},
"projectFileDependencyGroups": {
".NETFramework,Version=v4.7.2": [
"WixSharp-wix4 >= 2.0.0"
]
},
"packageFolders": {
"C:\\Users\\Giacomo\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\Installer.csproj",
"projectName": "Installer",
"projectPath": "C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\Installer.csproj",
"packagesPath": "C:\\Users\\Giacomo\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Giacomo\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net472"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net472": {
"targetAlias": "net472",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net472": {
"targetAlias": "net472",
"dependencies": {
"WixSharp-wix4": {
"target": "Package",
"version": "[2.0.0, )"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
}
},
"runtimes": {
"win7-x86": {
"#import": []
}
}
},
"logs": [
{
"code": "NU1101",
"level": "Error",
"message": "Il pacchetto WixSharp-wix4 non è stato trovato. Non esistono pacchetti con questo ID nelle origini: C:\\Program Files\\dotnet\\library-packs, Microsoft Visual Studio Offline Packages, nuget",
"libraryId": "WixSharp-wix4",
"targetGraphs": [
".NETFramework,Version=v4.7.2",
".NETFramework,Version=v4.7.2/win7-x86"
]
}
]
}
19 changes: 19 additions & 0 deletions Installer/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": 2,
"dgSpecHash": "q8FqQfgtq3wcID+VyfbvN7zDX3kLgl4Ni0BwPbFMEpD3d2Up7E5DNomKyfafgoOXduTqn42cvRlxU5ugwpQJpQ==",
"success": false,
"projectFilePath": "C:\\Users\\Giacomo\\source\\repos\\accorda.net\\Installer\\Installer.csproj",
"expectedPackageFiles": [],
"logs": [
{
"code": "NU1101",
"level": "Error",
"message": "Il pacchetto WixSharp-wix4 non è stato trovato. Non esistono pacchetti con questo ID nelle origini: C:\\Program Files\\dotnet\\library-packs, Microsoft Visual Studio Offline Packages, nuget",
"libraryId": "WixSharp-wix4",
"targetGraphs": [
".NETFramework,Version=v4.7.2",
".NETFramework,Version=v4.7.2/win7-x86"
]
}
]
}
Binary file modified accorda.net/.vs/accorda.net/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified accorda.net/.vs/accorda.net/v17/.suo
Binary file not shown.
Empty file added accorda.net/AUTHORS.md
Empty file.
1 change: 1 addition & 0 deletions accorda.net/accorda.net.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accorda", "Accorda.csproj",
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Elementi di soluzione", "Elementi di soluzione", "{AD311E08-2A83-4A6C-B93B-56AFFF1A93B3}"
ProjectSection(SolutionItems) = preProject
AUTHORS.md = AUTHORS.md
..\CONTRIBUTING.md = ..\CONTRIBUTING.md
..\LICENSE = ..\LICENSE
..\README.md = ..\README.md
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Accorda
build_property.ProjectDir = c:\Users\Giacomo\source\repos\accorda.net\accorda.net\
build_property.ProjectDir = C:\Users\Giacomo\source\repos\accorda.net\accorda.net\
Binary file modified accorda.net/obj/Debug/net7.0-windows/accorda.assets.cache
Binary file not shown.
9 changes: 9 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"version": "0.2",
"ignorePaths": [],
"dictionaryDefinitions": [],
"dictionaries": [],
"words": [],
"ignoreWords": [],
"import": []
}

0 comments on commit e4b5d16

Please sign in to comment.