mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2025-10-31 21:50:44 +07:00
handle .gitignore
This commit is contained in:
parent
4e5f94d27a
commit
c92299c546
8
.gitignore
vendored
8
.gitignore
vendored
@ -1,9 +1,9 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
FNA/
|
FNA/
|
||||||
fnalibs/
|
fnalibs/
|
||||||
Shitty/bin
|
project_name/bin
|
||||||
Shitty/CompiledContent/bin
|
project_name/obj
|
||||||
Shitty/CompiledContent/obj
|
project_name/CompiledContent/bin
|
||||||
|
project_name/CompiledContent/obj
|
||||||
.mgstats
|
.mgstats
|
||||||
Shitty/obj
|
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ Start new FNA projects with Nez quickly and easily with handy setup scripts, a v
|
|||||||
|
|
||||||
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.
|
||||||
|
|
||||||
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 is a good spot): `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));`
|
||||||
|
|
||||||
|
|
||||||
## Build Tasks ##
|
## Build Tasks ##
|
||||||
|
|||||||
@ -106,6 +106,7 @@ fi
|
|||||||
|
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name.code-workspace
|
sed -i '' "s/project_name/$newProjectName/g" project_name.code-workspace
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name.sln
|
sed -i '' "s/project_name/$newProjectName/g" project_name.sln
|
||||||
|
sed -i '' "s/project_name/$newProjectName/g" .gitignore
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/project_name.sln
|
sed -i '' "s/project_name/$newProjectName/g" project_name/project_name.sln
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/project_name.csproj
|
sed -i '' "s/project_name/$newProjectName/g" project_name/project_name.csproj
|
||||||
sed -i '' "s/project_name/$newProjectName/g" project_name/Game1.cs
|
sed -i '' "s/project_name/$newProjectName/g" project_name/Game1.cs
|
||||||
|
|||||||
@ -11,6 +11,10 @@ namespace project_name
|
|||||||
{
|
{
|
||||||
base.Initialize();
|
base.Initialize();
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
|
System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));
|
||||||
|
#endif
|
||||||
|
|
||||||
var newScene = new Scene();
|
var newScene = new Scene();
|
||||||
newScene.addRenderer(new DefaultRenderer());
|
newScene.addRenderer(new DefaultRenderer());
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user