# Issue while adding Elastic.apm to .net project

**URL:** <https://discuss.elastic.co/t/issue-while-adding-elastic-apm-to-net-project/196125>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [August 21, 2019, 1:34pm UTC](https://discuss.elastic.co/t/issue-while-adding-elastic-apm-to-net-project/196125 "2019-08-21T13:34:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonammarda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sonammarda/32/52241_2.png) [@sonammarda](https://discuss.elastic.co/u/sonammarda)\
**Post date:** [August 21, 2019, 1:34pm UTC](https://discuss.elastic.co/t/issue-while-adding-elastic-apm-to-net-project/196125/1 "2019-08-21T13:34:08Z")

</div>

Giving below error:  
Could not install package 'Elastic.Apm 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Kibana version: 7.3

Elasticsearch version: 7.3

APM Server version: 7.2

APM Agent language and version: Using for .NET project

How do I add elastic apm .net nuget package to my \>net project?

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [August 21, 2019, 1:57pm UTC](https://discuss.elastic.co/t/issue-while-adding-elastic-apm-to-net-project/196125/2 "2019-08-21T13:57:39Z")

</div>

Hi @sonammarda,

thanks for reporting this. I just noticed that the `net461` target seems to be missing from the latest package. That's a glitch on our side, which we'll fix.

In order to 100% verify this, could you please try to add the previous version, which is `1.0.0-beta1`?

We'll push a newer version soon - in case `1.0.0-beta1` works the next version should also work.

Sorry about the trouble.

---

<div class="post-metadata">

**Author:** ![sonammarda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sonammarda/32/52241_2.png) [@sonammarda](https://discuss.elastic.co/u/sonammarda)\
**Post date:** [August 22, 2019, 4:34am UTC](https://discuss.elastic.co/t/issue-while-adding-elastic-apm-to-net-project/196125/3 "2019-08-22T04:34:09Z")

</div>

Elastic.Apm 1.0.0-beta1 got successfully installed in 4.6.1  
Thanks for your help.

Can you please tell me when will be a production release available for APM .net nuget package. We are planning to use Elastic APM on Production environment if everything works well in Dev/Staging.

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [August 26, 2019, 2:57pm UTC](https://discuss.elastic.co/t/issue-while-adding-elastic-apm-to-net-project/196125/4 "2019-08-26T14:57:22Z")

</div>

Hi @sonammarda,

Thanks for verifying my theory!

We just pushed a release that addresses this issue. Details [here](https://github.com/elastic/apm-agent-dotnet/releases/tag/1.0.1) - the packages are already on [nuget.org](http://nuget.org) (maybe it'll take some hours for them to get listed, in case you don't see them yet).

These packages are already GA, so ready for production.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 16, 2019, 10:57am UTC](https://discuss.elastic.co/t/issue-while-adding-elastic-apm-to-net-project/196125/5 "2019-09-16T10:57:24Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
