mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2025-10-31 21:50:44 +07:00
merge ImGui branch
This commit is contained in:
commit
bba1d7f59a
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,7 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
.vs
|
||||||
FNA/
|
FNA/
|
||||||
|
ImGui.NET/
|
||||||
fnalibs/
|
fnalibs/
|
||||||
project_name/bin
|
project_name/bin
|
||||||
project_name/obj
|
project_name/obj
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
printf "Starting build process...\n"
|
printf "Starting build process...\n"
|
||||||
|
|
||||||
|
cd project_name
|
||||||
for file in `find ./Content/** -name "*.fx"` ;
|
for file in `find ./Content/** -name "*.fx"` ;
|
||||||
do
|
do
|
||||||
# Hush, wine...
|
# Hush, wine...
|
||||||
@ -8,12 +8,12 @@
|
|||||||
"name": "Launch",
|
"name": "Launch",
|
||||||
"type": "mono",
|
"type": "mono",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/bin/Debug/project_name.exe",
|
"program": "${workspaceFolder}/project_name/bin/Debug/project_name.exe",
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"preLaunchTask": "Build (Debug)",
|
"preLaunchTask": "Build (Debug)",
|
||||||
"osx":{
|
"osx":{
|
||||||
"env": {
|
"env": {
|
||||||
"DYLD_LIBRARY_PATH": "${workspaceFolder}/bin/Debug/osx/"
|
"DYLD_LIBRARY_PATH": "${workspaceFolder}/project_name/bin/Debug/osx/"
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
printf "Starting T4 processing...\n"
|
printf "Starting T4 processing...\n"
|
||||||
|
|
||||||
|
cd project_name
|
||||||
|
|
||||||
# create our output directory
|
# create our output directory
|
||||||
mkdir -p T4Templates/Output
|
mkdir -p T4Templates/Output
|
||||||
|
|
||||||
29
.vscode/settings.json
vendored
Normal file
29
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
// This prevents Omnisharp from prematurely creating obj and bin directories.
|
||||||
|
// Change this to true after changing the name of the csproj file and running Restore Project.
|
||||||
|
"omnisharp.autoStart": true,
|
||||||
|
|
||||||
|
// This just circumvents annoying default behavior with the C# extension...
|
||||||
|
// If you really like Code Lens, feel free to change this.
|
||||||
|
"csharp.referencesCodeLens.enabled": false,
|
||||||
|
|
||||||
|
"files.exclude": {
|
||||||
|
"**/.[^v]*": true, // hide any files that start with a '.' but keep the .vscode folder
|
||||||
|
".vs": true, // Visual Studio settings
|
||||||
|
"getFNA.sh": true,
|
||||||
|
"imgui.ini": true,
|
||||||
|
"MonoGameContent.targets": true,
|
||||||
|
"**/obj": true,
|
||||||
|
"**/bin": true,
|
||||||
|
".gitignore": true,
|
||||||
|
".gitmodules": true,
|
||||||
|
"README.md": true,
|
||||||
|
"fnalibs": true,
|
||||||
|
"project_name/CompiledContent/.mgstats": true,
|
||||||
|
"**/*.csproj*": true,
|
||||||
|
"**/*.sln": true,
|
||||||
|
"FNA/[^src]*": true, // hide everything but the src folder
|
||||||
|
"Nez/{[^DN]*}": true, // hide everything except what begins with D or N
|
||||||
|
"Nez/Nez.*.*": true, // hide the files in the root of the repo
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -12,7 +12,7 @@
|
|||||||
{
|
{
|
||||||
"label": "Clean Project",
|
"label": "Clean Project",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "msbuild /t:clean /p:configuration=Debug ; msbuild /t:clean /p:configuration=Release",
|
"command": "msbuild project_name /t:clean /p:configuration=Debug ; msbuild project_name /t:clean /p:configuration=Release",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": "$msCompile",
|
"problemMatcher": "$msCompile",
|
||||||
},
|
},
|
||||||
@ -22,6 +22,7 @@
|
|||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "msbuild",
|
"command": "msbuild",
|
||||||
"args": [
|
"args": [
|
||||||
|
"project_name",
|
||||||
"/p:configuration=Debug",
|
"/p:configuration=Debug",
|
||||||
"/t:build"
|
"/t:build"
|
||||||
],
|
],
|
||||||
@ -35,6 +36,7 @@
|
|||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "msbuild",
|
"command": "msbuild",
|
||||||
"args": [
|
"args": [
|
||||||
|
"project_name",
|
||||||
"/p:configuration=Release",
|
"/p:configuration=Release",
|
||||||
"/t:build"
|
"/t:build"
|
||||||
],
|
],
|
||||||
@ -47,13 +49,13 @@
|
|||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"osx":{
|
"osx":{
|
||||||
"command": "DYLD_LIBRARY_PATH=${workspaceFolder}/bin/Debug/osx/ mono ${workspaceFolder}/bin/Debug/project_name.exe"
|
"command": "DYLD_LIBRARY_PATH=${workspaceFolder}/project_name/bin/Debug/osx/ mono ${workspaceFolder}/project_name/bin/Debug/project_name.exe"
|
||||||
},
|
},
|
||||||
"windows":{
|
"windows":{
|
||||||
"command": "cmd",
|
"command": "cmd",
|
||||||
"args": [
|
"args": [
|
||||||
"/k",
|
"/k",
|
||||||
"${workspaceFolder}/bin/Debug/project_name.exe"
|
"${workspaceFolder}/project_name/bin/Debug/project_name.exe"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependsOn": "Build (Debug)",
|
"dependsOn": "Build (Debug)",
|
||||||
@ -65,13 +67,13 @@
|
|||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"osx":{
|
"osx":{
|
||||||
"command": "DYLD_LIBRARY_PATH=${workspaceFolder}/bin/Release/osx/ mono ${workspaceFolder}/bin/Release/project_name.exe"
|
"command": "DYLD_LIBRARY_PATH=${workspaceFolder}/project_name/bin/Release/osx/ mono ${workspaceFolder}/project_name/bin/Release/project_name.exe"
|
||||||
},
|
},
|
||||||
"windows":{
|
"windows":{
|
||||||
"command": "cmd",
|
"command": "cmd",
|
||||||
"args": [
|
"args": [
|
||||||
"/k",
|
"/k",
|
||||||
"${workspaceFolder}/bin/Release/project_name.exe"
|
"${workspaceFolder}/project_name/bin/Release/project_name.exe"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependsOn": "Build (Release)",
|
"dependsOn": "Build (Release)",
|
||||||
@ -95,9 +97,9 @@
|
|||||||
"label": "Build Content",
|
"label": "Build Content",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"command": "mono /Applications/Pipeline.app/Contents/MonoBundle/MGCB.exe /@:Content.mgcb",
|
"command": "msbuild /t:BuildContent",
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/CompiledContent"
|
"cwd": "${workspaceFolder}/project_name"
|
||||||
},
|
},
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
},
|
||||||
@ -108,7 +110,7 @@
|
|||||||
"group": "build",
|
"group": "build",
|
||||||
"command": "mono /Applications/Pipeline.app/Contents/MonoBundle/MGCB.exe /@:Content.mgcb -r",
|
"command": "mono /Applications/Pipeline.app/Contents/MonoBundle/MGCB.exe /@:Content.mgcb -r",
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/CompiledContent"
|
"cwd": "${workspaceFolder}/project_name/CompiledContent"
|
||||||
},
|
},
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
},
|
||||||
@ -117,7 +119,7 @@
|
|||||||
"label": "Open Pipeline Tool",
|
"label": "Open Pipeline Tool",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"command": "export MONOGAME_PIPELINE_PROJECT=${workspaceFolder}/CompiledContent/Content.mgcb && /Applications/Pipeline.app/Contents/MacOS/Pipeline",
|
"command": "export MONOGAME_PIPELINE_PROJECT=${workspaceFolder}/project_name/CompiledContent/Content.mgcb && /Applications/Pipeline.app/Contents/MacOS/Pipeline",
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
},
|
},
|
||||||
|
|
||||||
93
MonoGameContent.targets
Normal file
93
MonoGameContent.targets
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
<!--
|
||||||
|
The main project needs a reference to this project. We use our own instead of the default MonoGame version so we can control
|
||||||
|
where our content gets built since we don't use "Content" but instead use "CompiledContent"
|
||||||
|
<Import Project="../MonoGameContent.targets" />
|
||||||
|
-->
|
||||||
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<MonoGameInstallDirectory
|
||||||
|
Condition=" '$(MonoGameInstallDirectory)' == '' And Exists('/Library/Frameworks/Mono.framework/External/xbuild/MonoGame/v3.0/MonoGame.Common.props') ">/Library/Frameworks/Mono.framework/External/xbuild</MonoGameInstallDirectory>
|
||||||
|
<MonoGameInstallDirectory
|
||||||
|
Condition=" '$(MonoGameInstallDirectory)' == '' ">$(MSBuildProgramFiles32)</MonoGameInstallDirectory>
|
||||||
|
<ContentOutputDir>bin/DesktopGL</ContentOutputDir>
|
||||||
|
<ContentIntermediateDir>obj/DesktopGL</ContentIntermediateDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<UsingTask TaskName="MonoGame.Build.Tasks.CollectContentReferences"
|
||||||
|
AssemblyFile="\Library\Frameworks\MonoGame.framework\v3.0\MonoGame.Build.Tasks.dll" />
|
||||||
|
|
||||||
|
<!-- Add MonoGameContentReference to item type selection in Visual Studio -->
|
||||||
|
<ItemGroup>
|
||||||
|
<AvailableItemName Include="MonoGameContentReference" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- This disables the IDE feature that skips executing msbuild in some build situations. -->
|
||||||
|
<PropertyGroup>
|
||||||
|
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="Prepare">
|
||||||
|
<PropertyGroup>
|
||||||
|
<MonoGameInstallDir>$(MonoGameInstallDirectory)\MonoGame\v3.0\</MonoGameInstallDir>
|
||||||
|
<!-- El Capitan Support -->
|
||||||
|
<MonoExe Condition=" '$(OS)' != 'Windows_NT' And Exists ('/Library/Frameworks/Mono.framework/Versions/Current/bin/mono') ">/Library/Frameworks/Mono.framework/Versions/Current/bin/mono</MonoExe>
|
||||||
|
<MonoExe Condition=" '$(OS)' != 'Windows_NT' And Exists ('/usr/local/bin/mono') ">/usr/local/bin/mono</MonoExe>
|
||||||
|
<MonoExe Condition=" '$(OS)' != 'Windows_NT' And Exists ('/usr/bin/mono') ">/usr/bin/mono</MonoExe>
|
||||||
|
<MonoExe Condition=" '$(OS)' != 'Windows_NT' And '$(MonoExe)' == '' ">mono</MonoExe>
|
||||||
|
<MonoGameContentBuilderExe Condition="'$(MonoGameContentBuilderExe)' == ''">$(MonoGameInstallDir)Tools\MGCB.exe</MonoGameContentBuilderExe>
|
||||||
|
<MonoGameContentBuilderCmd>"$(MonoGameContentBuilderExe)"</MonoGameContentBuilderCmd>
|
||||||
|
<MonoGameContentBuilderCmd Condition=" '$(OS)' != 'Windows_NT' ">$(MonoExe) $(MonoGameContentBuilderCmd)</MonoGameContentBuilderCmd>
|
||||||
|
<PlatformResourcePrefix Condition="'$(MonoGamePlatform)' == 'MacOSX'">$(MonoMacResourcePrefix)</PlatformResourcePrefix>
|
||||||
|
<PlatformResourcePrefix Condition="'$(MonoGamePlatform)' == 'iOS'">$(IPhoneResourcePrefix)</PlatformResourcePrefix>
|
||||||
|
<PlatformResourcePrefix Condition="'$(MonoGamePlatform)' == 'Android'">$(MonoAndroidAssetsPrefix)</PlatformResourcePrefix>
|
||||||
|
<PlatformResourcePrefix Condition="'$(PlatformResourcePrefix)' != '' And !HasTrailingSlash('$(PlatformResourcePrefix)')">$(PlatformResourcePrefix)\</PlatformResourcePrefix>
|
||||||
|
<PlatformResourcePrefix Condition="'$(PlatformResourcePrefix)' == ''"></PlatformResourcePrefix>
|
||||||
|
<MonoGameMGCBAdditionalArguments Condition="'$(MonoGameMGCBAdditionalArguments)' ==''">/quiet</MonoGameMGCBAdditionalArguments>
|
||||||
|
<Header>/platform:$(MonoGamePlatform)</Header>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Get all Mono Game Content References and store them in a list -->
|
||||||
|
<!-- We do this here so we are compatible with xbuild -->
|
||||||
|
<CollectContentReferences ContentReferences="@(MonoGameContentReference)" MonoGamePlatform="$(MonoGamePlatform)">
|
||||||
|
<Output TaskParameter="Output" ItemName="ContentReferences" />
|
||||||
|
</CollectContentReferences>
|
||||||
|
|
||||||
|
<Error
|
||||||
|
Text="The MonoGame content builder executable could not be located at '$(MonoGameContentBuilderExe)'!"
|
||||||
|
Condition="!Exists('$(MonoGameContentBuilderExe)')"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<Warning
|
||||||
|
Text="No Content References Found. Please make sure your .mgcb file has a build action of MonoGameContentReference"
|
||||||
|
Condition=" '%(ContentReferences.FullPath)' == '' "
|
||||||
|
/>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<BuildDependsOn>
|
||||||
|
BuildContent;
|
||||||
|
$(BuildDependsOn);
|
||||||
|
</BuildDependsOn>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Target Name="RunContentBuilder">
|
||||||
|
<Exec Condition=" '%(ContentReferences.FullPath)' != '' "
|
||||||
|
Command="$(MonoGameContentBuilderCmd) $(MonoGameMGCBAdditionalArguments) $(Header) /@:"%(ContentReferences.FullPath)" /outputDir:"$(ContentOutputDir)" /intermediateDir:"$(ContentIntermediateDir)""
|
||||||
|
WorkingDirectory="%(ContentReferences.RootDir)%(ContentReferences.Directory)" />
|
||||||
|
<CreateItem Include="%(ContentReferences.RelativeFullPath)%(ContentReferences.ContentOutputDir)\**\*.*"
|
||||||
|
AdditionalMetadata="ContentOutputDir=%(ContentReferences.ContentDirectory)">
|
||||||
|
<Output TaskParameter="Include" ItemName="ExtraContent" />
|
||||||
|
</CreateItem>
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
<Target Name="BuildContent" DependsOnTargets="Prepare;RunContentBuilder" AfterTargets="Build" Condition=" '@(MonoGameContentReference)' != '' "
|
||||||
|
Outputs="%(ExtraContent.RecursiveDir)%(ExtraContent.Filename)%(ExtraContent.Extension)">
|
||||||
|
<CreateItem Include="%(ExtraContent.FullPath)" AdditionalMetadata="Link=$(PlatformResourcePrefix)%(ExtraContent.ContentOutputDir)%(ExtraContent.RecursiveDir)%(ExtraContent.Filename)%(ExtraContent.Extension);CopyToOutputDirectory=PreserveNewest"
|
||||||
|
Condition="'%(ExtraContent.Filename)' != ''">
|
||||||
|
<Output TaskParameter="Include" ItemName="Content" Condition="'$(MonoGamePlatform)' != 'Android' And '$(MonoGamePlatform)' != 'iOS' And '$(MonoGamePlatform)' != 'MacOSX'" />
|
||||||
|
<Output TaskParameter="Include" ItemName="BundleResource" Condition="'$(MonoGamePlatform)' == 'MacOSX' Or '$(MonoGamePlatform)' == 'iOS'" />
|
||||||
|
<Output TaskParameter="Include" ItemName="AndroidAsset" Condition="'$(MonoGamePlatform)' == 'Android'" />
|
||||||
|
</CreateItem>
|
||||||
|
</Target>
|
||||||
|
</Project>
|
||||||
@ -18,10 +18,12 @@ Start new FNA projects with Nez quickly and easily with handy setup scripts, a v
|
|||||||
|
|
||||||
## Setup Instructions ##
|
## Setup Instructions ##
|
||||||
1. Download and unzip the ZIP archive (don't clone the repo!)
|
1. Download and unzip the ZIP archive (don't clone the repo!)
|
||||||
2. Run `./getFNA.sh` (macOS) to download the latest Nez, FNA and fnalibs to the directory. You can run this script again if you want to update either FNA or the fnalibs at a later point. Nez is setup as a submodule so you can update it in the normal fashion.
|
2. Run `./getFNA.sh` (macOS) to download the latest Nez, FNA and fnalibs to the directory. You can run this script again if you want to update either FNA or the fnalibs at a later point. If you get missing DLL errors when running in Visual Studio copy the FNA libs into your `/usr/local/lib` folder. With Visual Studio Code `DYLD_LIBRARY_PATH` is set automatically so it won't show the DLL not found error. Nez is setup as a submodule so you can update it in the normal fashion.
|
||||||
3. Open the newly-created and named `PROJECT_NAME_YOU_CHOSE.code-workspace` file (or open the project folder in Visual Studio Code or the top-level sln in Visual Studio)
|
3. Open the root folder that contains the .sln file in Visual Studio Code or the .sln file directly in Visual Studio
|
||||||
|
|
||||||
That's it! Now you're ready to build and run the base project. When developing raw content (files not processed by the Pipeline tool) should be placed in the `Content` folder and anything that needs processing should go in the `CompiledContent` folder and added to the Pipeline tool.
|
That's it! Now you're ready to build and run the base project. When developing, raw content (files not processed by the Pipeline tool) should be placed in the `Content` folder and anything that needs processing should go in the `CompiledContent` folder and added to the Pipeline tool.
|
||||||
|
|
||||||
|
The setup process will also init a git repo for you with Nez added as a submodule.
|
||||||
|
|
||||||
If you want to see the output of `Debug.*` calls in the VS Code Debug Console, you have to install a listener by adding this somewhere in your code (Game1 by default has one for you): `System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));`
|
If you want to see the output of `Debug.*` calls in the VS Code Debug Console, you have to install a listener by adding this somewhere in your code (Game1 by default has one for you): `System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));`
|
||||||
|
|
||||||
|
|||||||
60
getFNA.sh
60
getFNA.sh
@ -42,7 +42,7 @@ function downloadFNA()
|
|||||||
echo "Downloading FNA..."
|
echo "Downloading FNA..."
|
||||||
git -C $MY_DIR clone https://github.com/FNA-XNA/FNA.git --recursive
|
git -C $MY_DIR clone https://github.com/FNA-XNA/FNA.git --recursive
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Finished downloading!\n"
|
echo "Finished downloading!"
|
||||||
else
|
else
|
||||||
echo >&2 "ERROR: Unable to download successfully. Maybe try again later?"
|
echo >&2 "ERROR: Unable to download successfully. Maybe try again later?"
|
||||||
fi
|
fi
|
||||||
@ -55,13 +55,14 @@ function updateFNA()
|
|||||||
echo "Updating to the latest git version of FNA..."
|
echo "Updating to the latest git version of FNA..."
|
||||||
git -C "$MY_DIR/FNA" pull --recurse-submodules
|
git -C "$MY_DIR/FNA" pull --recurse-submodules
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Finished updating!\n"
|
echo "Finished updating!"
|
||||||
else
|
else
|
||||||
echo >&2 "ERROR: Unable to update."
|
echo >&2 "ERROR: Unable to update."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Downloads and extracts prepackaged archive of native libraries ("fnalibs")
|
# Downloads and extracts prepackaged archive of native libraries ("fnalibs")
|
||||||
function getLibs()
|
function getLibs()
|
||||||
{
|
{
|
||||||
@ -81,6 +82,7 @@ function getLibs()
|
|||||||
tar xjC $MY_DIR/fnalibs -f $MY_DIR/fnalibs.tar.bz2
|
tar xjC $MY_DIR/fnalibs -f $MY_DIR/fnalibs.tar.bz2
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Finished decompressing!"
|
echo "Finished decompressing!"
|
||||||
|
echo ""
|
||||||
rm $MY_DIR/fnalibs.tar.bz2
|
rm $MY_DIR/fnalibs.tar.bz2
|
||||||
else
|
else
|
||||||
>&2 echo "ERROR: Unable to decompress successfully."
|
>&2 echo "ERROR: Unable to decompress successfully."
|
||||||
@ -91,25 +93,33 @@ function getLibs()
|
|||||||
# Get the directory of this script
|
# Get the directory of this script
|
||||||
MY_DIR=$(dirname "$BASH_SOURCE")
|
MY_DIR=$(dirname "$BASH_SOURCE")
|
||||||
|
|
||||||
|
|
||||||
|
# gather input
|
||||||
|
|
||||||
# FNA
|
# FNA
|
||||||
if [ ! -d "$MY_DIR/FNA" ]; then
|
if [ ! -d "$MY_DIR/FNA" ]; then
|
||||||
read -p "Download FNA (y/n)? " shouldDownload
|
read -p "Download FNA (y/n)? " shouldDownload
|
||||||
if [[ $shouldDownload =~ ^[Yy]$ ]]; then
|
|
||||||
downloadFNA
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
read -p "Update FNA (y/n)? " shouldUpdate
|
read -p "Update FNA (y/n)? " shouldUpdate
|
||||||
if [[ $shouldUpdate =~ ^[Yy]$ ]]; then
|
|
||||||
updateFNA
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# FNALIBS
|
|
||||||
if [ ! -d "$MY_DIR/fnalibs" ]; then
|
if [ ! -d "$MY_DIR/fnalibs" ]; then
|
||||||
read -p "Download fnalibs (y/n)? " shouldDownloadLibs
|
read -p "Download fnalibs (y/n)? " shouldDownloadLibs
|
||||||
else
|
else
|
||||||
read -p "Redownload fnalibs (y/n)? " shouldDownloadLibs
|
read -p "Redownload fnalibs (y/n)? " shouldDownloadLibs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# act on the input
|
||||||
|
|
||||||
|
# FNA
|
||||||
|
if [[ $shouldDownload =~ ^[Yy]$ ]]; then
|
||||||
|
downloadFNA
|
||||||
|
elif [[ $shouldUpdate =~ ^[Yy]$ ]]; then
|
||||||
|
updateFNA
|
||||||
|
fi
|
||||||
|
|
||||||
|
# FNALIBS
|
||||||
if [[ $shouldDownloadLibs =~ ^[Yy]$ ]]; then
|
if [[ $shouldDownloadLibs =~ ^[Yy]$ ]]; then
|
||||||
getLibs
|
getLibs
|
||||||
fi
|
fi
|
||||||
@ -119,7 +129,8 @@ fi
|
|||||||
installT4
|
installT4
|
||||||
|
|
||||||
|
|
||||||
# Rename project
|
|
||||||
|
# Only proceed from here if we have not yet renamed the project
|
||||||
if [ ! -d "$MY_DIR/project_name" ]; then
|
if [ ! -d "$MY_DIR/project_name" ]; then
|
||||||
# old project_name folder already renamed so we are all done here
|
# old project_name folder already renamed so we are all done here
|
||||||
exit 1
|
exit 1
|
||||||
@ -131,17 +142,12 @@ if [[ $newProjectName = 'exit' || -z "$newProjectName" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name.code-workspace
|
# any files that need to have project_name replaced with the new project name should be here
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name.sln
|
files=(project_name.sln .gitignore project_name/project_name.csproj project_name/Game1.cs project_name/Program.cs .vscode/tasks.json .vscode/settings.json .vscode/launch.json .vscode/buildEffects.sh .vscode/processT4Templates.sh)
|
||||||
sed -i '' "s/project_name/$newProjectName/g" .gitignore
|
for file in "${files[@]}"; do
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/project_name.sln
|
sed -i '' "s/project_name/$newProjectName/g" $file
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/project_name.csproj
|
done
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/Game1.cs
|
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/Program.cs
|
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/.vscode/tasks.json
|
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/.vscode/launch.json
|
|
||||||
|
|
||||||
mv project_name.code-workspace "$newProjectName.code-workspace"
|
|
||||||
mv project_name.sln "$newProjectName.sln"
|
mv project_name.sln "$newProjectName.sln"
|
||||||
mv project_name/project_name.sln "project_name/$newProjectName.sln"
|
mv project_name/project_name.sln "project_name/$newProjectName.sln"
|
||||||
mv project_name/project_name.csproj "project_name/$newProjectName.csproj"
|
mv project_name/project_name.csproj "project_name/$newProjectName.csproj"
|
||||||
@ -149,9 +155,17 @@ mv project_name/project_name.csproj.user "project_name/$newProjectName.csproj.us
|
|||||||
mv project_name "$newProjectName"
|
mv project_name "$newProjectName"
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git submodule add git@github.com:prime31/Nez.FNA.git
|
git submodule add https://github.com/prime31/Nez.git
|
||||||
cd Nez.FNA
|
cd Nez
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
|
||||||
printf "\n\nManually run the following command:\n\nnuget restore Nez.FNA/Nez/Nez.sln && msbuild Nez.FNA/Nez/Nez.sln && msbuild /t:restore $newProjectName\n\n"
|
command -v pbcopy > /dev/null 2>&1
|
||||||
|
if [ ! $? -eq 0 ]; then
|
||||||
|
printf "\n\nManually run the following command:\n\nnuget restore Nez/Nez.sln && msbuild Nez/Nez.sln && msbuild /t:restore $newProjectName\n\n"
|
||||||
|
else
|
||||||
|
echo "nuget restore Nez/Nez.sln && msbuild Nez/Nez.sln && msbuild /t:restore $newProjectName" | pbcopy
|
||||||
|
echo ""
|
||||||
|
echo "A build command was copied to your clipboard. Paste and run it now."
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
|||||||
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"folders": [
|
|
||||||
{
|
|
||||||
"path": "project_name"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "Nez.FNA/Nez/Nez.Portable"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"settings": {
|
|
||||||
"omnisharp.autoStart": true,
|
|
||||||
"csharp.referencesCodeLens.enabled": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,52 +1,25 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 15
|
# Visual Studio 15
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "project_name", "project_name\project_name.csproj", "{3CB9E917-FEF7-453F-A88D-6B85B552B058}"
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Debug|x86 = Debug|x86
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
Release|x86 = Release|x86
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Debug|x86.ActiveCfg = Debug|x86
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Debug|x86.Build.0 = Debug|x86
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Release|x86.ActiveCfg = Release|x86
|
|
||||||
{D488C5AD-5192-4A08-88FD-22219586ED9F}.Release|x86.Build.0 = Release|x86
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|x86.Build.0 = Debug|Any CPU
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Release|x86.ActiveCfg = Release|Any CPU
|
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Release|x86.Build.0 = Release|Any CPU
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Debug|Any CPU.ActiveCfg = Debug|x86
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Debug|Any CPU.Build.0 = Debug|x86
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Debug|x86.ActiveCfg = Debug|x86
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Debug|x86.Build.0 = Debug|x86
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Release|Any CPU.ActiveCfg = Release|x86
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Release|Any CPU.Build.0 = Release|x86
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Release|x86.ActiveCfg = Release|x86
|
|
||||||
{F6DF8289-8138-41C7-B747-E672AFEE44A4}.Release|x86.Build.0 = Release|x86
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "project_name", "project_name\project_name.csproj", "{8C576ECC-147D-4B4A-8EC1-56533D26A178}"
|
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FNA", "FNA\FNA.csproj", "{35253CE1-C864-4CD3-8249-4D1319748E8F}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FNA", "FNA\FNA.csproj", "{35253CE1-C864-4CD3-8249-4D1319748E8F}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nez.FNA", "Nez.FNA\Nez.FNA\Nez.FNA.csproj", "{11A5855C-B12C-4F8D-B935-56F3D0B671C3}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nez.FNA", "Nez\Nez.Portable\Nez.FNA.csproj", "{11A5855C-B12C-4F8D-B935-56F3D0B671C3}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nez.FNA.ImGui", "Nez\Nez.ImGui\Nez.FNA.ImGui.csproj", "{16DA6D66-4DFD-46D4-A367-C02B48B80CAA}"
|
||||||
|
EndProject
|
||||||
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{8C576ECC-147D-4B4A-8EC1-56533D26A178}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{3CB9E917-FEF7-453F-A88D-6B85B552B058}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{8C576ECC-147D-4B4A-8EC1-56533D26A178}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{3CB9E917-FEF7-453F-A88D-6B85B552B058}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{11A5855C-B12C-4F8D-B935-56F3D0B671C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{11A5855C-B12C-4F8D-B935-56F3D0B671C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{11A5855C-B12C-4F8D-B935-56F3D0B671C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{11A5855C-B12C-4F8D-B935-56F3D0B671C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{16DA6D66-4DFD-46D4-A367-C02B48B80CAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{16DA6D66-4DFD-46D4-A367-C02B48B80CAA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
|||||||
20
project_name/.vscode/settings.json
vendored
20
project_name/.vscode/settings.json
vendored
@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
// This prevents Omnisharp from prematurely creating obj and bin directories.
|
|
||||||
// Change this to true after changing the name of the csproj file and running Restore Project.
|
|
||||||
"omnisharp.autoStart": true,
|
|
||||||
|
|
||||||
// This just circumvents annoying default behavior with the C# extension...
|
|
||||||
// If you really like Code Lens, feel free to change this.
|
|
||||||
"csharp.referencesCodeLens.enabled": false,
|
|
||||||
|
|
||||||
"files.exclude": {
|
|
||||||
"obj": true,
|
|
||||||
"bin": true,
|
|
||||||
"CompiledContent/bin": true,
|
|
||||||
"CompiledContent/obj": true,
|
|
||||||
"CompiledContent/.mgstats": true,
|
|
||||||
"*.csproj.user": true,
|
|
||||||
"*.csproj": true,
|
|
||||||
"*.sln": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,4 +1,5 @@
|
|||||||
using Nez;
|
using Nez;
|
||||||
|
using Nez.ImGuiTools;
|
||||||
|
|
||||||
namespace project_name
|
namespace project_name
|
||||||
{
|
{
|
||||||
@ -15,6 +16,7 @@ namespace project_name
|
|||||||
System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));
|
System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// setup a Scene so we have something to show
|
||||||
var newScene = new Scene();
|
var newScene = new Scene();
|
||||||
newScene.addRenderer(new DefaultRenderer());
|
newScene.addRenderer(new DefaultRenderer());
|
||||||
|
|
||||||
@ -24,6 +26,11 @@ namespace project_name
|
|||||||
.addComponent(new Nez.Sprites.Sprite(logo));
|
.addComponent(new Nez.Sprites.Sprite(logo));
|
||||||
|
|
||||||
scene = newScene;
|
scene = newScene;
|
||||||
|
|
||||||
|
// optionally render Nez in an ImGui window
|
||||||
|
var imGuiManager = new ImGuiManager();
|
||||||
|
Core.registerGlobalManager( imGuiManager );
|
||||||
|
imGuiManager.setEnabled( true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -49,6 +49,9 @@ namespace Nez
|
|||||||
|
|
||||||
|
|
||||||
<#+
|
<#+
|
||||||
|
// all the valid file extensions we should add to the output file
|
||||||
|
private string[] fileExtensionsToCopy = new string[] { ".xnb", ".png", ".ogg", ".wav", ".fxb" };
|
||||||
|
|
||||||
// C# reserved keywords
|
// C# reserved keywords
|
||||||
private System.Collections.Generic.List<string> keywords = new System.Collections.Generic.List<string>
|
private System.Collections.Generic.List<string> keywords = new System.Collections.Generic.List<string>
|
||||||
{
|
{
|
||||||
@ -63,7 +66,7 @@ namespace Nez
|
|||||||
void printDirectoryClass( string dir, int depth, string sourceFolder )
|
void printDirectoryClass( string dir, int depth, string sourceFolder )
|
||||||
{
|
{
|
||||||
var dirInfo = new DirectoryInfo( dir );
|
var dirInfo = new DirectoryInfo( dir );
|
||||||
var firstIndent = new string( ' ', depth * 5 );
|
var firstIndent = new string( ' ', depth * 4 );
|
||||||
var className = generateClassName( dirInfo.Name, true );
|
var className = generateClassName( dirInfo.Name, true );
|
||||||
WriteLine( "{0}public static class {1}\n{2}{{", firstIndent, className, firstIndent );
|
WriteLine( "{0}public static class {1}\n{2}{{", firstIndent, className, firstIndent );
|
||||||
|
|
||||||
@ -81,10 +84,10 @@ namespace Nez
|
|||||||
// prints a const string for each file in the directory
|
// prints a const string for each file in the directory
|
||||||
void printContentFiles( string dir, int depth, string sourceFolder )
|
void printContentFiles( string dir, int depth, string sourceFolder )
|
||||||
{
|
{
|
||||||
var firstIndent = new string( '\t', depth );
|
var firstIndent = new string( ' ', depth * 4 );
|
||||||
|
|
||||||
var files = Directory.EnumerateFiles( dir )
|
var files = Directory.EnumerateFiles( dir )
|
||||||
.Where( s => s.EndsWith( ".xnb" ) || s.EndsWith( ".png" ) || s.EndsWith( ".ogg" ) || s.EndsWith( ".wav" ) || s.EndsWith( ".fxb" ) );
|
.Where( s => Array.IndexOf( fileExtensionsToCopy, Path.GetExtension( s ) ) >= 0 );
|
||||||
foreach( var file in files )
|
foreach( var file in files )
|
||||||
{
|
{
|
||||||
// clear out all of the path up to the sourceFolder so we get just the relative path to the Content folder
|
// clear out all of the path up to the sourceFolder so we get just the relative path to the Content folder
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net471</TargetFramework>
|
<TargetFramework>net471</TargetFramework>
|
||||||
@ -7,12 +7,26 @@
|
|||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<AssemblyName>project_name</AssemblyName>
|
<AssemblyName>project_name</AssemblyName>
|
||||||
<MonoGamePlatform>DesktopGL</MonoGamePlatform>
|
<MonoGamePlatform>DesktopGL</MonoGamePlatform>
|
||||||
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Reference FNA project -->
|
<!-- Reference FNA, Nez and ImGui projects -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="../FNA/FNA.csproj" />
|
<ProjectReference Include="../FNA/FNA.csproj"/>
|
||||||
<ProjectReference Include="../Nez.FNA/Nez.FNA/Nez.FNA.csproj" />
|
<ProjectReference Include="../Nez/Nez.Portable/Nez.FNA.csproj"/>
|
||||||
|
<ProjectReference Include="../Nez/Nez.ImGui/Nez.FNA.ImGui.csproj"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Includes Nez default effects and textures -->
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="../Nez/DefaultContent/FNAEffects/**/*.fxb">
|
||||||
|
<Link>Content/nez/effects/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="../Nez/DefaultContent/textures/**/*.xnb">
|
||||||
|
<Link>Content/nez/textures/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Include the Content directory (except for .fx files, since we use .fxb at runtime) -->
|
<!-- Include the Content directory (except for .fx files, since we use .fxb at runtime) -->
|
||||||
@ -28,14 +42,18 @@
|
|||||||
<Link>Content/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
<Link>Content/%(RecursiveDir)%(Filename)%(Extension)</Link>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<!-- cleanup so VS looks clean -->
|
||||||
|
<None Remove="CompiledContent\obj\**"/>
|
||||||
|
<None Remove="CompiledContent\bin\**"/>
|
||||||
|
<None Remove="CompiledContent\.*"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- I can't seem to get msbuild to automatically handle content so these next two bits do nothing -->
|
<!-- MonoGames content pipeline needs this defined -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<MonoGameContentReference Include="CompiledContent\Content.mgcb" />
|
<MonoGameContentReference Include="CompiledContent\Content.mgcb"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Content.Builder.targets" />
|
<Import Project="../MonoGameContent.targets"/>
|
||||||
|
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
@ -66,5 +84,4 @@
|
|||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@ -1,24 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 15
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "project_name", "project_name.csproj", "{BD11109C-8FD1-4FFE-A3EF-8390A1EAE1A1}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FNA", "../FNA/FNA.csproj", "{35253CE1-C864-4CD3-8249-4D1319748E8F}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nez.FNA", "../Nez.FNA/Nez.FNA/Nez.FNA.csproj", "{11A5855C-B12C-4F8D-B935-56F3D0B671C3}"
|
|
||||||
EndProject
|
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nez.PipelineImporter", "../Nez.FNA/Nez/Nez.PipelineImporter/Nez.PipelineImporter.csproj", "{63E831F4-B847-4150-B5AF-CBE059EE27B8}"
|
|
||||||
EndProject
|
|
||||||
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{BD11109C-8FD1-4FFE-A3EF-8390A1EAE1A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{BD11109C-8FD1-4FFE-A3EF-8390A1EAE1A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{BD11109C-8FD1-4FFE-A3EF-8390A1EAE1A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{BD11109C-8FD1-4FFE-A3EF-8390A1EAE1A1}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
Loading…
Reference in New Issue
Block a user