diff --git a/dotnet/MainPage.html b/dotnet/doc/build/MainPage.html similarity index 70% rename from dotnet/MainPage.html rename to dotnet/doc/build/MainPage.html index a8001135c..727d37899 100644 --- a/dotnet/MainPage.html +++ b/dotnet/doc/build/MainPage.html @@ -31,38 +31,38 @@ Here is a short example in C#, to show you how simple it is to use SFML.Net : static void Main(string[] args) { // Create the main window - RenderWindow app = new RenderWindow(new VideoMode(800, 600), "SFML window"); - app.Closed += new EventHandler(OnClose); + RenderWindow window = new RenderWindow(new VideoMode(800, 600), "SFML window"); + window.Closed += new EventHandler(OnClose); // Load a sprite to display Image image = new Image("cute_image.jpg"); Sprite sprite = new Sprite(image); // Create a graphical string to display - Font arial = new Font("arial.ttf"); - String2D text = new String2D("Hello SFML.Net", arial); + Font font = new Font("arial.ttf"); + Text text = new Text("Hello SFML.Net", font); // Load a music to play Music music = new Music("nice_music.ogg"); music.Play(); // Start the game loop - while (app.IsOpened()) + while (window.IsOpened()) { // Process events - app.DispatchEvents(); + window.DispatchEvents(); // Clear screen - app.Clear(); + window.Clear(); // Draw the sprite - app.Draw(sprite); + window.Draw(sprite); // Draw the string - app.Draw(text); + window.Draw(text); // Update the window - app.Display(); + window.Display(); } } } diff --git a/dotnet/SFML.ndoc b/dotnet/doc/build/SFML.ndoc similarity index 51% rename from dotnet/SFML.ndoc rename to dotnet/doc/build/SFML.ndoc index 89133d9bb..71518f8b4 100644 --- a/dotnet/SFML.ndoc +++ b/dotnet/doc/build/SFML.ndoc @@ -1,20 +1,27 @@ - - - + + + - - - + + + + + + + + + + - + @@ -22,14 +29,10 @@ - - - - - - - + + + \ No newline at end of file diff --git a/dotnet/src/Audio/sfml-audio.csproj b/dotnet/src/Audio/sfml-audio.csproj index e0c831a2c..aef39ea74 100644 --- a/dotnet/src/Audio/sfml-audio.csproj +++ b/dotnet/src/Audio/sfml-audio.csproj @@ -3,7 +3,7 @@ Debug AnyCPU - 8.0.50727 + 9.0.21022 2.0 {0B202C4D-A457-47FE-84A3-031DD878C6BE} Library @@ -22,12 +22,12 @@ true full false - bin\Debug\ + ..\..\lib\ DEBUG;TRACE prompt 4 true - bin\audio-doc.xml + ..\..\doc\build\audio-doc.xml pdbonly @@ -37,7 +37,7 @@ prompt 4 true - bin\audio-doc.xml + ..\..\doc\build\audio-doc.xml