Let $X'\rightarrow X$ be a blow-up of a finitely dimensional scheme $X$ in a center $D$.
Under which assumptions one has $\dim X'=\dim X$? Do you know a proof or a reference for a proof? Do you know a example for $\dim X'\neq\dim X$?
In my research in resolution of singularities I need $\dim X'\leq\dim X$ if $X$ is an excellent scheme, normally flat along $D$ and if $D$ is regular and contains no generic points of $X$. It seems to be well known but I did not find a proof yet.
Edit: Thanks to the comments there are the following positive/negative answers:
If $X$ is locally Noetherian and $D$ contains no generic points of $X$, then $\dim X'=\dim X$. To see this one may assume that $X$ is reduced, since $(X')_\mathrm{red}=(X_\mathrm{red})'$. Further one may assume that $X$ is irreducible because the irreducible components of $X'$ are the strict transforms of the irreducible components of $X$. Then $X'\rightarrow X$ is proper and birational, by U. Görtz, T. Wedhorn, Algebraic Geometry I, Corollary 13.97. As diverietti commented we get $\dim X'=\dim X$ (cf. Q. Liu, Algebraic Geometry and Arithmetic Curves, Chap.8, Corollary 2.7).
If $X$ is locally Noetherian and $D$ contains all irreducible components $Z$ of $X$ with $\dim Z=\dim X$, then $\dim X'<\dim X$.
For $X$ not Noetherian one may have $\dim X'\neq\dim X$. For example let $k$ be a field, $X=\mathrm{Spec}(R)$ for the valuation ring $R=k[[y]]+x\cdot k((y))[[x]]$ and $D=V(\langle xy^{-n}\,|\,n\in\mathbb N\rangle)\subseteq X$. Then $X'$ is covered by open affine subschemes isomorphic to $\mathrm{Spec}(R_y)$.