# Must be doing something stupid

**URL:** https://forum.confluent.io/t/must-be-doing-something-stupid/3288
**Category:** Command Line tools
**Created:** [4 November 2021 21:22 UTC](https://forum.confluent.io/t/must-be-doing-something-stupid/3288 "2021-11-04T21:22:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![markdinovo](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@markdinovo](https://forum.confluent.io/u/markdinovo)
#### Post date: [4 November 2021 21:22 UTC](https://forum.confluent.io/t/must-be-doing-something-stupid/3288/1 "2021-11-04T21:22:46Z")

</div>

I must be doing something stupid here…I’m sure this isn’t rocket science.

I’m going through the Getting Started Turorial using .Net.  
Build the Producer and Consumer csproj files and associated classes.

When I try to produce events: `dotnet run --project producer.csproj $(pwd)/getting-started.properties `

I get:

```auto
Please provide the configuration file path as a command line argument
Unhandled exception. System.IO.FileNotFoundException: 
The configuration file 'kafka-dotnet-getting-started' was not found and is not optional. The physical path is 'C:\Mas_Applications\POCs\kafka-dotnet-getting-started'.
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
   at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
   at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
   at Consumer.Main(String[] args) in C:\Mas_Applications\POCs\kafka-dotnet-getting-started\consumer.cs:line 14

```

Tried in a command window and PowerShell, no luck.  
It’s even saying the error is in the consumer when I’m not even running the consumer, I’m trying to start the Producer.  
Both compiles were successful.

Any help would be greatly appreciated,  
Thanks is advance.

---

<div class="post-metadata">

### Author: ![BabakBehravesh](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/babakbehravesh/32/1877_2.png) [@BabakBehravesh](https://forum.confluent.io/u/BabakBehravesh)
#### Post date: [4 May 2022 15:07 UTC](https://forum.confluent.io/t/must-be-doing-something-stupid/3288/2 "2022-05-04T15:07:00Z")

</div>

I’ve got stuck on the same issue but it’s very simple. Just instead of `$(pwd)/getting-started.properties` put the path to `getting-started.properties` file. For the path put `\` instead of `/`s in the path. That’s all.

---

<div class="post-metadata">

### Author: ![sarveshmishra](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/sarveshmishra/32/2443_2.png) [@sarveshmishra](https://forum.confluent.io/u/sarveshmishra)
#### Post date: [4 October 2022 11:42 UTC](https://forum.confluent.io/t/must-be-doing-something-stupid/3288/3 "2022-10-04T11:42:00Z")

</div>

I faced this problem today, If you have gitbash run this command there in the same directory.
