diff --git a/dotnet/examples/opengl/OpenGL.cs b/dotnet/examples/opengl/OpenGL.cs index 4df1c10fc..996ec5eb9 100644 --- a/dotnet/examples/opengl/OpenGL.cs +++ b/dotnet/examples/opengl/OpenGL.cs @@ -4,7 +4,7 @@ using SFML.Graphics; using SFML.Window; using Tao.OpenGl; -namespace sample_opengl +namespace opengl { static class Program { @@ -22,7 +22,7 @@ namespace sample_opengl window.Resized += new EventHandler(OnResized); // Create a sprite for the background - Image backgroundImage = new Image("datas/opengl/background.jpg"); + Image backgroundImage = new Image("resources/background.jpg"); Sprite background = new Sprite(backgroundImage); // Create a text to display @@ -34,7 +34,7 @@ namespace sample_opengl // We could directly use a sf::Image as an OpenGL texture (with its Bind() member function), // but here we want more control on it (generate mipmaps, ...) so we create a new one int texture = 0; - using (Image image = new Image("datas/opengl/texture.jpg")) + using (Image image = new Image("resources/texture.jpg")) { Gl.glGenTextures(1, out texture); Gl.glBindTexture(Gl.GL_TEXTURE_2D, texture); diff --git a/dotnet/examples/opengl/sample-opengl.csproj b/dotnet/examples/opengl/opengl.csproj similarity index 93% rename from dotnet/examples/opengl/sample-opengl.csproj rename to dotnet/examples/opengl/opengl.csproj index bb79e4b6a..5a4e246d9 100644 --- a/dotnet/examples/opengl/sample-opengl.csproj +++ b/dotnet/examples/opengl/opengl.csproj @@ -7,10 +7,9 @@ {160AE11E-138A-4B77-9642-EA74F9A79B4D} WinExe Properties - sample_opengl + opengl opengl - - + opengl.Program 2.0 @@ -21,7 +20,7 @@ true full false - ..\bin\ + .\ DEBUG;TRACE prompt 4 diff --git a/dotnet/examples/bin/datas/opengl/background.jpg b/dotnet/examples/opengl/resources/background.jpg similarity index 100% rename from dotnet/examples/bin/datas/opengl/background.jpg rename to dotnet/examples/opengl/resources/background.jpg diff --git a/dotnet/examples/bin/datas/opengl/texture.jpg b/dotnet/examples/opengl/resources/texture.jpg similarity index 100% rename from dotnet/examples/bin/datas/opengl/texture.jpg rename to dotnet/examples/opengl/resources/texture.jpg diff --git a/dotnet/examples/shader/Shader.cs b/dotnet/examples/shader/Shader.cs index 3ded018bd..1c0e2badd 100644 --- a/dotnet/examples/shader/Shader.cs +++ b/dotnet/examples/shader/Shader.cs @@ -4,7 +4,7 @@ using SFML; using SFML.Graphics; using SFML.Window; -namespace sample_shader +namespace shader { /// /// A class to simplify shader selection @@ -86,26 +86,26 @@ namespace sample_shader RenderImage image = new RenderImage(window.Width, window.Height); // Load a background image to display - Sprite background = new Sprite(new Image("datas/shader/background.jpg")); + Sprite background = new Sprite(new Image("resources/background.jpg")); background.Image.Smooth = false; // Load a sprite which we'll move into the scene - Sprite entity = new Sprite(new Image("datas/shader/sprite.png")); + Sprite entity = new Sprite(new Image("resources/sprite.png")); // Load the text font - Font font = new Font("datas/shader/arial.ttf"); + Font font = new Font("resources/arial.ttf"); // Load the image needed for the wave effect - Image waveImage = new Image("datas/shader/wave.jpg"); + Image waveImage = new Image("resources/wave.jpg"); // Load all effects shaders = new Dictionary(); - shaders["nothing"] = new Shader("datas/shader/nothing.sfx"); - shaders["blur"] = new Shader("datas/shader/blur.sfx"); - shaders["colorize"] = new Shader("datas/shader/colorize.sfx"); - shaders["fisheye"] = new Shader("datas/shader/fisheye.sfx"); - shaders["wave"] = new Shader("datas/shader/wave.sfx"); - shaders["pixelate"] = new Shader("datas/shader/pixelate.sfx"); + shaders["nothing"] = new Shader("resources/nothing.sfx"); + shaders["blur"] = new Shader("resources/blur.sfx"); + shaders["colorize"] = new Shader("resources/colorize.sfx"); + shaders["fisheye"] = new Shader("resources/fisheye.sfx"); + shaders["wave"] = new Shader("resources/wave.sfx"); + shaders["pixelate"] = new Shader("resources/pixelate.sfx"); backgroundShader = new ShaderSelector(shaders); entityShader = new ShaderSelector(shaders); globalShader = new ShaderSelector(shaders); diff --git a/dotnet/examples/bin/datas/shader/arial.ttf b/dotnet/examples/shader/resources/arial.ttf similarity index 100% rename from dotnet/examples/bin/datas/shader/arial.ttf rename to dotnet/examples/shader/resources/arial.ttf diff --git a/dotnet/examples/bin/datas/shader/background.jpg b/dotnet/examples/shader/resources/background.jpg similarity index 100% rename from dotnet/examples/bin/datas/shader/background.jpg rename to dotnet/examples/shader/resources/background.jpg diff --git a/dotnet/examples/bin/datas/shader/blur.sfx b/dotnet/examples/shader/resources/blur.sfx similarity index 100% rename from dotnet/examples/bin/datas/shader/blur.sfx rename to dotnet/examples/shader/resources/blur.sfx diff --git a/dotnet/examples/bin/datas/shader/colorize.sfx b/dotnet/examples/shader/resources/colorize.sfx similarity index 100% rename from dotnet/examples/bin/datas/shader/colorize.sfx rename to dotnet/examples/shader/resources/colorize.sfx diff --git a/dotnet/examples/bin/datas/shader/fisheye.sfx b/dotnet/examples/shader/resources/fisheye.sfx similarity index 100% rename from dotnet/examples/bin/datas/shader/fisheye.sfx rename to dotnet/examples/shader/resources/fisheye.sfx diff --git a/dotnet/examples/bin/datas/shader/nothing.sfx b/dotnet/examples/shader/resources/nothing.sfx similarity index 100% rename from dotnet/examples/bin/datas/shader/nothing.sfx rename to dotnet/examples/shader/resources/nothing.sfx diff --git a/dotnet/examples/bin/datas/shader/pixelate.sfx b/dotnet/examples/shader/resources/pixelate.sfx similarity index 100% rename from dotnet/examples/bin/datas/shader/pixelate.sfx rename to dotnet/examples/shader/resources/pixelate.sfx diff --git a/dotnet/examples/bin/datas/shader/sprite.png b/dotnet/examples/shader/resources/sprite.png similarity index 100% rename from dotnet/examples/bin/datas/shader/sprite.png rename to dotnet/examples/shader/resources/sprite.png diff --git a/dotnet/examples/bin/datas/shader/wave.jpg b/dotnet/examples/shader/resources/wave.jpg similarity index 100% rename from dotnet/examples/bin/datas/shader/wave.jpg rename to dotnet/examples/shader/resources/wave.jpg diff --git a/dotnet/examples/bin/datas/shader/wave.sfx b/dotnet/examples/shader/resources/wave.sfx similarity index 100% rename from dotnet/examples/bin/datas/shader/wave.sfx rename to dotnet/examples/shader/resources/wave.sfx diff --git a/dotnet/examples/shader/sample-shader.csproj b/dotnet/examples/shader/shader.csproj similarity index 91% rename from dotnet/examples/shader/sample-shader.csproj rename to dotnet/examples/shader/shader.csproj index 1992e7d69..f4b3a07c1 100644 --- a/dotnet/examples/shader/sample-shader.csproj +++ b/dotnet/examples/shader/shader.csproj @@ -7,20 +7,20 @@ {9D4738F7-34EA-433A-A765-AF85A52A174D} WinExe Properties - sample_shader + shader shader 2.0 - sample_shader.Program + shader.Program true full false - ..\bin\ + .\ DEBUG;TRACE prompt 4 diff --git a/dotnet/examples/sound/Sound.cs b/dotnet/examples/sound/Sound.cs index ee82b967f..952ebc14f 100644 --- a/dotnet/examples/sound/Sound.cs +++ b/dotnet/examples/sound/Sound.cs @@ -3,7 +3,7 @@ using System.Threading; using SFML; using SFML.Audio; -namespace sample_sound +namespace sound { static class Program { @@ -26,7 +26,7 @@ namespace sample_sound private static void PlaySound() { // Load a sound buffer from a wav file - SoundBuffer buffer = new SoundBuffer("datas/sound/canary.wav"); + SoundBuffer buffer = new SoundBuffer("resources/canary.wav"); // Display sound informations Console.WriteLine("canary.wav :"); @@ -56,7 +56,7 @@ namespace sample_sound private static void PlayMusic() { // Load an ogg music file - Music music = new Music("datas/sound/orchestral.ogg"); + Music music = new Music("resources/orchestral.ogg"); // Display music informations Console.WriteLine("orchestral.ogg :"); diff --git a/dotnet/examples/bin/datas/sound/canary.wav b/dotnet/examples/sound/resources/canary.wav similarity index 100% rename from dotnet/examples/bin/datas/sound/canary.wav rename to dotnet/examples/sound/resources/canary.wav diff --git a/dotnet/examples/bin/datas/sound/orchestral.ogg b/dotnet/examples/sound/resources/orchestral.ogg similarity index 100% rename from dotnet/examples/bin/datas/sound/orchestral.ogg rename to dotnet/examples/sound/resources/orchestral.ogg diff --git a/dotnet/examples/sound/sample-sound.csproj b/dotnet/examples/sound/sound.csproj similarity index 92% rename from dotnet/examples/sound/sample-sound.csproj rename to dotnet/examples/sound/sound.csproj index 465b0fefe..2f945f66d 100644 --- a/dotnet/examples/sound/sample-sound.csproj +++ b/dotnet/examples/sound/sound.csproj @@ -7,10 +7,9 @@ {16E177F3-A0FF-4091-8521-562E0EBAA3AB} Exe Properties - sample_sound + sound sound - - + sound.Program 2.0 @@ -21,7 +20,7 @@ true full false - ..\bin\ + .\ DEBUG;TRACE prompt 4 diff --git a/dotnet/examples/sound_capture/SoundCapture.cs b/dotnet/examples/sound_capture/SoundCapture.cs index e6a080953..946936752 100644 --- a/dotnet/examples/sound_capture/SoundCapture.cs +++ b/dotnet/examples/sound_capture/SoundCapture.cs @@ -3,7 +3,7 @@ using System.Threading; using SFML; using SFML.Audio; -namespace sample_soundcapture +namespace sound_capture { static class Program { diff --git a/dotnet/examples/sound_capture/sample-soundcapture.csproj b/dotnet/examples/sound_capture/sound_capture.csproj similarity index 90% rename from dotnet/examples/sound_capture/sample-soundcapture.csproj rename to dotnet/examples/sound_capture/sound_capture.csproj index 3ce78e72a..12feee791 100644 --- a/dotnet/examples/sound_capture/sample-soundcapture.csproj +++ b/dotnet/examples/sound_capture/sound_capture.csproj @@ -7,10 +7,9 @@ {F2F48990-F81E-41BA-AD01-168F6178C807} Exe Properties - sample_soundcapture - sound-capture - - + sound_capture + sound_capture + sound_capture.Program 2.0 @@ -21,7 +20,7 @@ true full false - ..\bin\ + .\ DEBUG;TRACE prompt 4 diff --git a/dotnet/examples/visualbasic/OpenGL.vb b/dotnet/examples/visualbasic/OpenGL.vb index 55b45672a..2a59bc609 100644 --- a/dotnet/examples/visualbasic/OpenGL.vb +++ b/dotnet/examples/visualbasic/OpenGL.vb @@ -7,7 +7,7 @@ Imports Tao.FreeGlut Module OpenGL - Dim WithEvents App As RenderWindow + Dim WithEvents window As RenderWindow ''' ''' Entry point of application @@ -15,26 +15,25 @@ Module OpenGL Sub Main() ' Create main window - App = New RenderWindow(New VideoMode(800, 600), "SFML.Net OpenGL (Visual Basic)") - App.PreserveOpenGLStates(True) + window = New RenderWindow(New VideoMode(800, 600), "SFML.Net OpenGL (Visual Basic)") ' Create a sprite for the background - Dim BackgroundImage = New Image("datas/opengl/background.jpg") - Dim Background = New Sprite(BackgroundImage) + Dim backgroundImage = New Image("resources/background.jpg") + Dim background = New Sprite(backgroundImage) ' Create a text to display - Dim Text = New String2D("This is a rotating cube") - Text.Position = New Vector2(250.0F, 300.0F) - Text.Color = New Color(128, 0, 128) + Dim text = New Text("SFML / OpenGL demo") + text.Position = New Vector2(250.0F, 450.0F) + text.Color = New Color(255, 255, 255, 170) ' Load an OpenGL texture. - ' We could directly use a sf::Image as an OpenGL texture (with its Bind() member function), + ' We could directly use a SFML.Graphics.Image as an OpenGL texture (with its Bind() member function), ' but here we want more control on it (generate mipmaps, ...) so we create a new one - Dim Texture = 0 - Using TempImage = New Image("datas/opengl/texture.jpg") - Gl.glGenTextures(1, Texture) - Gl.glBindTexture(Gl.GL_TEXTURE_2D, Texture) - Glu.gluBuild2DMipmaps(Gl.GL_TEXTURE_2D, Gl.GL_RGBA, TempImage.Width, TempImage.Height, Gl.GL_RGBA, Gl.GL_UNSIGNED_BYTE, TempImage.Pixels) + Dim texture = 0 + Using tempImage = New Image("resources/texture.jpg") + Gl.glGenTextures(1, texture) + Gl.glBindTexture(Gl.GL_TEXTURE_2D, texture) + Glu.gluBuild2DMipmaps(Gl.GL_TEXTURE_2D, Gl.GL_RGBA, tempImage.Width, tempImage.Height, Gl.GL_RGBA, Gl.GL_UNSIGNED_BYTE, tempImage.Pixels) Gl.glTexParameteri(Gl.GL_TEXTURE_2D, Gl.GL_TEXTURE_MAG_FILTER, Gl.GL_LINEAR) Gl.glTexParameteri(Gl.GL_TEXTURE_2D, Gl.GL_TEXTURE_MIN_FILTER, Gl.GL_LINEAR_MIPMAP_LINEAR) End Using @@ -51,108 +50,93 @@ Module OpenGL ' Bind our texture Gl.glEnable(Gl.GL_TEXTURE_2D) - Gl.glBindTexture(Gl.GL_TEXTURE_2D, Texture) + Gl.glBindTexture(Gl.GL_TEXTURE_2D, texture) Gl.glColor4f(1.0F, 1.0F, 1.0F, 1.0F) - Dim Time = 0.0F + Dim time = 0.0F ' Start game loop - While (App.IsOpened()) + While (window.IsOpened()) ' Process events - App.DispatchEvents() + window.DispatchEvents() ' Draw background - App.Draw(Background) + window.SaveGLStates() + window.Draw(background) + window.RestoreGLStates() ' Clear depth buffer Gl.glClear(Gl.GL_DEPTH_BUFFER_BIT) + ' We get the position of the mouse cursor, so that we can move the box accordingly + Dim x = window.Input.GetMouseX() * 200.0F / window.Width - 100.0F + Dim y = -window.Input.GetMouseY() * 200.0F / window.Height + 100.0F + ' Apply some transformations - Time += App.GetFrameTime() + time += window.GetFrameTime() Gl.glMatrixMode(Gl.GL_MODELVIEW) Gl.glLoadIdentity() - Gl.glTranslatef(0.0F, 0.0F, -200.0F) - Gl.glRotatef(Time * 50, 1.0F, 0.0F, 0.0F) - Gl.glRotatef(Time * 30, 0.0F, 1.0F, 0.0F) - Gl.glRotatef(Time * 90, 0.0F, 0.0F, 1.0F) + Gl.glTranslatef(x, y, -100.0F) + Gl.glRotatef(time * 50, 1.0F, 0.0F, 0.0F) + Gl.glRotatef(time * 30, 0.0F, 1.0F, 0.0F) + Gl.glRotatef(time * 90, 0.0F, 0.0F, 1.0F) ' Draw a cube + Dim size = 20.0F Gl.glBegin(Gl.GL_QUADS) - Gl.glTexCoord2f(0, 0) - Gl.glVertex3f(-50.0F, -50.0F, -50.0F) - Gl.glTexCoord2f(0, 1) - Gl.glVertex3f(-50.0F, 50.0F, -50.0F) - Gl.glTexCoord2f(1, 1) - Gl.glVertex3f(50.0F, 50.0F, -50.0F) - Gl.glTexCoord2f(1, 0) - Gl.glVertex3f(50.0F, -50.0F, -50.0F) + Gl.glTexCoord2f(0, 0) : Gl.glVertex3f(-size, -size, -size) + Gl.glTexCoord2f(0, 1) : Gl.glVertex3f(-size, size, -size) + Gl.glTexCoord2f(1, 1) : Gl.glVertex3f(size, size, -size) + Gl.glTexCoord2f(1, 0) : Gl.glVertex3f(size, -size, -size) - Gl.glTexCoord2f(0, 0) - Gl.glVertex3f(-50.0F, -50.0F, 50.0F) - Gl.glTexCoord2f(0, 1) - Gl.glVertex3f(-50.0F, 50.0F, 50.0F) - Gl.glTexCoord2f(1, 1) - Gl.glVertex3f(50.0F, 50.0F, 50.0F) - Gl.glTexCoord2f(1, 0) - Gl.glVertex3f(50.0F, -50.0F, 50.0F) + Gl.glTexCoord2f(0, 0) : Gl.glVertex3f(-size, -size, size) + Gl.glTexCoord2f(0, 1) : Gl.glVertex3f(-size, size, size) + Gl.glTexCoord2f(1, 1) : Gl.glVertex3f(size, size, size) + Gl.glTexCoord2f(1, 0) : Gl.glVertex3f(size, -size, size) - Gl.glTexCoord2f(0, 0) - Gl.glVertex3f(-50.0F, -50.0F, -50.0F) - Gl.glTexCoord2f(0, 1) - Gl.glVertex3f(-50.0F, 50.0F, -50.0F) - Gl.glTexCoord2f(1, 1) - Gl.glVertex3f(-50.0F, 50.0F, 50.0F) - Gl.glTexCoord2f(1, 0) - Gl.glVertex3f(-50.0F, -50.0F, 50.0F) + Gl.glTexCoord2f(0, 0) : Gl.glVertex3f(-size, -size, -size) + Gl.glTexCoord2f(0, 1) : Gl.glVertex3f(-size, size, -size) + Gl.glTexCoord2f(1, 1) : Gl.glVertex3f(-size, size, size) + Gl.glTexCoord2f(1, 0) : Gl.glVertex3f(-size, -size, size) - Gl.glTexCoord2f(0, 0) - Gl.glVertex3f(50.0F, -50.0F, -50.0F) - Gl.glTexCoord2f(0, 1) - Gl.glVertex3f(50.0F, 50.0F, -50.0F) - Gl.glTexCoord2f(1, 1) - Gl.glVertex3f(50.0F, 50.0F, 50.0F) - Gl.glTexCoord2f(1, 0) - Gl.glVertex3f(50.0F, -50.0F, 50.0F) + Gl.glTexCoord2f(0, 0) : Gl.glVertex3f(size, -size, -size) + Gl.glTexCoord2f(0, 1) : Gl.glVertex3f(size, size, -size) + Gl.glTexCoord2f(1, 1) : Gl.glVertex3f(size, size, size) + Gl.glTexCoord2f(1, 0) : Gl.glVertex3f(size, -size, size) - Gl.glTexCoord2f(0, 1) - Gl.glVertex3f(-50.0F, -50.0F, 50.0F) - Gl.glTexCoord2f(0, 0) - Gl.glVertex3f(-50.0F, -50.0F, -50.0F) - Gl.glTexCoord2f(1, 0) - Gl.glVertex3f(50.0F, -50.0F, -50.0F) - Gl.glTexCoord2f(1, 1) - Gl.glVertex3f(50.0F, -50.0F, 50.0F) + Gl.glTexCoord2f(0, 1) : Gl.glVertex3f(-size, -size, size) + Gl.glTexCoord2f(0, 0) : Gl.glVertex3f(-size, -size, -size) + Gl.glTexCoord2f(1, 0) : Gl.glVertex3f(size, -size, -size) + Gl.glTexCoord2f(1, 1) : Gl.glVertex3f(size, -size, size) - Gl.glTexCoord2f(0, 1) - Gl.glVertex3f(-50.0F, 50.0F, 50.0F) - Gl.glTexCoord2f(0, 0) - Gl.glVertex3f(-50.0F, 50.0F, -50.0F) - Gl.glTexCoord2f(1, 0) - Gl.glVertex3f(50.0F, 50.0F, -50.0F) - Gl.glTexCoord2f(1, 1) - Gl.glVertex3f(50.0F, 50.0F, 50.0F) + Gl.glTexCoord2f(0, 1) : Gl.glVertex3f(-size, size, size) + Gl.glTexCoord2f(0, 0) : Gl.glVertex3f(-size, size, -size) + Gl.glTexCoord2f(1, 0) : Gl.glVertex3f(size, size, -size) + Gl.glTexCoord2f(1, 1) : Gl.glVertex3f(size, size, size) Gl.glEnd() ' Draw some text on top of our OpenGL object - App.Draw(Text) + window.SaveGLStates() + window.Draw(text) + window.RestoreGLStates() ' Finally, display the rendered frame on screen - App.Display() + window.Display() End While ' Don't forget to destroy our texture - Gl.glDeleteTextures(1, Texture) + Gl.glDeleteTextures(1, texture) End Sub ''' ''' Function called when the window is closed ''' - Sub App_Closed(ByVal sender As Object, ByVal e As EventArgs) Handles App.Closed + Sub App_Closed(ByVal sender As Object, ByVal e As EventArgs) Handles window.Closed Dim window = CType(sender, RenderWindow) window.Close() End Sub @@ -160,7 +144,7 @@ Module OpenGL ''' ''' Function called when a key is pressed ''' - Sub App_KeyPressed(ByVal sender As Object, ByVal e As KeyEventArgs) Handles App.KeyPressed + Sub App_KeyPressed(ByVal sender As Object, ByVal e As KeyEventArgs) Handles window.KeyPressed Dim window = CType(sender, RenderWindow) If e.Code = KeyCode.Escape Then window.Close() @@ -170,7 +154,7 @@ Module OpenGL ''' ''' Function called when the window is resized ''' - Sub App_Resized(ByVal sender As Object, ByVal e As SizeEventArgs) Handles App.Resized + Sub App_Resized(ByVal sender As Object, ByVal e As SizeEventArgs) Handles window.Resized Gl.glViewport(0, 0, e.Width, e.Height) End Sub diff --git a/dotnet/examples/visualbasic/resources/background.jpg b/dotnet/examples/visualbasic/resources/background.jpg new file mode 100644 index 000000000..20724fa92 Binary files /dev/null and b/dotnet/examples/visualbasic/resources/background.jpg differ diff --git a/dotnet/examples/visualbasic/resources/texture.jpg b/dotnet/examples/visualbasic/resources/texture.jpg new file mode 100644 index 000000000..6cf7528eb Binary files /dev/null and b/dotnet/examples/visualbasic/resources/texture.jpg differ diff --git a/dotnet/examples/visualbasic/visualbasic.vbproj b/dotnet/examples/visualbasic/visualbasic.vbproj index e657c3fa4..03acedf87 100644 --- a/dotnet/examples/visualbasic/visualbasic.vbproj +++ b/dotnet/examples/visualbasic/visualbasic.vbproj @@ -3,7 +3,7 @@ Debug AnyCPU - 9.0.30729 + 9.0.21022 2.0 {98552080-F688-46B4-A2FF-1AC7C50ECBE8} WinExe @@ -23,7 +23,7 @@ full true true - bin\Debug\ + .\ visualbasic.xml 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 @@ -37,13 +37,13 @@ 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 - + False - ..\..\lib\sfmlnet-graphics.dll + ..\..\lib\sfmlnet2-graphics.dll - + False - ..\..\lib\sfmlnet-window.dll + ..\..\lib\sfmlnet2-window.dll diff --git a/dotnet/examples/window/Window.cs b/dotnet/examples/window/Window.cs index 56121bb13..f50ead469 100644 --- a/dotnet/examples/window/Window.cs +++ b/dotnet/examples/window/Window.cs @@ -3,7 +3,7 @@ using SFML; using SFML.Window; using Tao.OpenGl; -namespace sample_window +namespace window { static class Program { diff --git a/dotnet/examples/window/sample-window.csproj b/dotnet/examples/window/window.csproj similarity index 93% rename from dotnet/examples/window/sample-window.csproj rename to dotnet/examples/window/window.csproj index 9eb0b8956..bb7cd86dc 100644 --- a/dotnet/examples/window/sample-window.csproj +++ b/dotnet/examples/window/window.csproj @@ -7,19 +7,20 @@ {C1FBB9AF-B69A-4D06-9BDC-EAC7606296FF} WinExe Properties - sample_window + window window 2.0 + window.Program true full false - ..\bin\ + .\ DEBUG;TRACE prompt 4