Witam,próbuję stworzyć prostą aplikację która wczytuje zdjęcia tulipanów w SharpDX.
Do Folderu Content wrzuciłem folder T.jpg.
Potem napisałem taki kod
public Texture2D tulips
...
protected override void LoadContent()
{
// Instantiate a SpriteBatch
spriteBatch = ToDisposeContent(new SpriteBatch(GraphicsDevice));
// Loads the balls texture (32 textures (32x32) stored vertically => 32 x 1024 ).
// The [Balls.dds] file is defined with the build action [ToolkitTexture] in the project
tulips = this.Content.Load<Texture2D>("T.jpg");
// Loads a sprite font
// The [Arial16.xml] file is defined with the build action [ToolkitFont] in the project
base.LoadContent();
}
A po uruchomieniu programu dostaję komunikat,że takiego Assetu tam w ogóle nie ma :/
Próbowałem nawet usuwać to rozszerzenie,ale dalej ten sam błąd.