質問編集履歴

1

csprojファイルの中身公開

2023/07/05 09:52

投稿

TokoTk
TokoTk

スコア2

test CHANGED
File without changes
test CHANGED
@@ -21,3 +21,82 @@
21
21
  ```
22
22
  4.「'Resources'に'pic1'の定義がありません。」と表示される。
23
23
 
24
+
25
+ 以下、csprojファイル
26
+ ```ここに言語を入力
27
+ <Project Sdk="Microsoft.NET.Sdk">
28
+ <PropertyGroup>
29
+ <TargetFramework>net7.0-windows</TargetFramework>
30
+ <OutputType>WinExe</OutputType>
31
+ <PublishUrl>publish\</PublishUrl>
32
+ <Install>true</Install>
33
+ <InstallFrom>Disk</InstallFrom>
34
+ <UpdateEnabled>false</UpdateEnabled>
35
+ <UpdateMode>Foreground</UpdateMode>
36
+ <UpdateInterval>7</UpdateInterval>
37
+ <UpdateIntervalUnits>Days</UpdateIntervalUnits>
38
+ <UpdatePeriodically>false</UpdatePeriodically>
39
+ <UpdateRequired>false</UpdateRequired>
40
+ <MapFileExtensions>true</MapFileExtensions>
41
+ <ApplicationRevision>0</ApplicationRevision>
42
+ <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
43
+ <IsWebBootstrapper>false</IsWebBootstrapper>
44
+ <UseApplicationTrust>false</UseApplicationTrust>
45
+ <BootstrapperEnabled>true</BootstrapperEnabled>
46
+ <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
47
+ <UseWindowsForms>true</UseWindowsForms>
48
+ <ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
49
+ </PropertyGroup>
50
+ <PropertyGroup>
51
+ <TargetZone>LocalIntranet</TargetZone>
52
+ </PropertyGroup>
53
+ <PropertyGroup>
54
+ <GenerateManifests>true</GenerateManifests>
55
+ </PropertyGroup>
56
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
57
+ <OutputPath>bin\x64\Debug\ImageRenderApp</OutputPath>
58
+ </PropertyGroup>
59
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
60
+ <OutputPath>bin\x64\Release\</OutputPath>
61
+ </PropertyGroup>
62
+ <PropertyGroup>
63
+ <ApplicationManifest>Properties\app.manifest</ApplicationManifest>
64
+ </PropertyGroup>
65
+ <PropertyGroup>
66
+ <ApplicationIcon>Resources\myIcon.ico</ApplicationIcon>
67
+ </PropertyGroup>
68
+ <ItemGroup>
69
+ <BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
70
+ <Visible>False</Visible>
71
+ <ProductName>Microsoft .NET Framework 4.7.2 %28x86 および x64%29</ProductName>
72
+ <Install>true</Install>
73
+ </BootstrapperPackage>
74
+ <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
75
+ <Visible>False</Visible>
76
+ <ProductName>.NET Framework 3.5 SP1</ProductName>
77
+ <Install>false</Install>
78
+ </BootstrapperPackage>
79
+ </ItemGroup>
80
+ <ItemGroup>
81
+ <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
82
+ <PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
83
+ <PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.421302">
84
+ <PrivateAssets>all</PrivateAssets>
85
+ </PackageReference>
86
+ <PackageReference Include="Microsoft.Windows.Compatibility" Version="7.0.1" />
87
+ </ItemGroup>
88
+ <ItemGroup>
89
+ <Compile Update="Properties\Settings.Designer.cs">
90
+ <DesignTimeSharedInput>True</DesignTimeSharedInput>
91
+ <AutoGen>True</AutoGen>
92
+ <DependentUpon>Settings.settings</DependentUpon>
93
+ </Compile>
94
+ </ItemGroup>
95
+ <ItemGroup>
96
+ <None Update="Properties\Settings.settings">
97
+ <Generator>SettingsSingleFileGenerator</Generator>
98
+ <LastGenOutput>Settings.Designer.cs</LastGenOutput>
99
+ </None>
100
+ </ItemGroup>
101
+ </Project>
102
+ ```